WordPress.org

Ready to get started?Download WordPress

Ideas

Add template name, post format classes to tinymce body.

  1. chaleybgis
    Member

    12345

    For example, if you have a "full width" template and a post format of "video", tinymce should output:

    <body id="tinymce" class="mceContentBody content post-type-page post-status-publish wp-editor template-full-width post-format-video"

    This would allow you to style the editor differently for different post-formats and templates. The primary purpose would be adjusting editor width to match content width.

    Posted: 5 months ago #
  2. bravokeyl
    Member

    -- I say it already adds post-format-* to the tinymce body.

    Posted: 4 months ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    2 Votes
  • Status

    This idea is under consideration

Tags