• Hi,
    Is there a way to set up the rich text editor so the site styles are actually displayed in the editor instead of whatever generic style is assigned to the editor?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Could you try explaining that a bit better?

    You have noticed that if you scroll down there is a preview? Is that what you mean?

    Thread Starter sketchbob

    (@sketchbob)

    Within the Rich Text Editor one sees a generic style. Not the actual style that is used for the site.

    For instance, the style for the text in a site might be sans serif yet the text displayed in the editor is serif.

    H1 is huge and jammed together in the editor but as styled in the site, it’s smaller and thus would be easier to work with in the editor. Likewise for tabled data, image alignment etc.

    So, it would be ideal if one could see the actual fonts and styling in the editor as they are in the site.

    And yes, I am well aware one can scroll down and see a preview. I’ve turned that off and simply preview in the browser in another tab so I can see the real end result as a visitor would see it (in a browser).

    So, any notions on how to accomplish this??

    Why not just click on “view” under “manage > posts” in admin? If you’re doing this before you intend on publishing it, edit the post and set the status to “private” first. Change it back to “published” when you’re happy with it.

    Thread Starter sketchbob

    (@sketchbob)

    Got it solved.
    In tiny_mce_config.php, line 44, change the path of the CSS file to the path for your theme style and poof! you have an editor with content that is styled as your site is styled.

    pizdin_dim, setting up a second tab in my browser is much faster than waiting on WP “view” to open another tab/window. I just open the page I’m editing in the other tab and set it to reload every 10 seconds. Then when I save my edits in the WP-admin tab, I simply click the other tab and the changes are there already. There isn’t a faster way to preview.

    Besides you’re missing the point. A wysiwyg editor is only useful if indeed you see what you get while you’re editing, without going back and forth between tabs and windows.

    So it goes without saying then that the site styles need to be reflected in the editor for the sake of working more efficiently if nothing else.

    “Besides you’re missing the point.”

    Yes, you’re right. I am.

    After I posted my reply, I though about it for a while and couldn’t for the life of me understand why a facility to preview the “actual style” used by the website is even remotely useful considering the number of times anybody would actually use it.

    And I still don’t.

    But then again I’m very anti WYSIWIG and I’ve never used it. Quicktags are useful, WYSIWIG is not. I just don’t see any value in previewing a post in the “actual style” because the output is always the same, apart from the content.

    “So it goes without saying then that the site styles need to be reflected in the editor for the sake of working more efficiently if nothing else.”

    I have absolutely no idea what you mean by “more efficiently”. Can you explain?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can I see the site style in the editor??’ is closed to new replies.