plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
249 stars 189 forks source link

can't see preview of final page while editing #907

Closed djay closed 1 year ago

djay commented 9 years ago

user problem

You can have custom diazo, custom css, interactions with the portlets and footers etc. Tinymce styles are only ever a simulation of what it will look like on the final page.

options

  1. side-by-side live preview like in craft cms - https://viget.com/extend/why-we-love-craft-cms
  2. Mosaics is sort of a solution but is still not going to let you see what the real page will look like.
    • you are likely not going to theme mosaic so won't look like the final themed version
  3. not load tinymce in an iframe
    • makes theming more complex as tinymce and all plone UI has to work within your theme. complications such as js comflicts and css conflicts can be a pain
    • only works for the single richtext portion. Not markdown or other kinds of fields.
thet commented 9 years ago

Option 3. could be: 3) Inline TinyMce, which is not loaded in an iframe and thus using the styles of the page as they are. I've recently added some enhancements to mockup to support that properly: https://github.com/plone/mockup/pull/568

I think this does only solve the textediting part of the problem. You won't see the title and other stuff rendered as it is on the front page.

tomgross commented 9 years ago

There is a feature request in p.a.mosaic for 2: https://github.com/plone/plone.app.mosaic/issues/99

djay commented 8 years ago

@thet edit the original issue. It's a wiki @tomgross The idea with these kind of issues to contain all the options in one places, not spread the debate around the place

espenmn commented 8 years ago

Brainstorming: Maybe this can be done 'with just UI'. If plone.app.iterate is installed, and 'check out' looks like 'Edit' to the user, and 'Check in' looks like 'save', the 'preview' could just open the copy in its own window ?

tkimnguyen commented 7 years ago

Yet another pointer to Castle ... we have a Preview button in the toolbar that shows you how the page will appear to an anonymous viewer. You can also select device type (phone, tablet, phablet, desktop).

screen shot 2017-05-08 at may 8 8 56 56 am screen shot 2017-05-08 at may 8 8 57 04 am

hvelarde commented 7 years ago

I like this also; +1 on adding such feature upstream Plone.

jensens commented 1 year ago

I close the issue, because it addresses Plone 5.1 which is no longer supported. If you think this is wrong please reopen the issue and assign a matching milestone.