WordPress.org

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: 2 years ago #
  2. bravokeyl
    Member

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

    Posted: 2 years ago #
  3. good3n
    Member

    @bravokeyl - No it doesn't.

    Posted: 1 year ago #
  4. Ipstenu (Mika Epstein)
    Administrator

    Not to the tinymce body, no. It does to the output on the final post, but not the post editor.

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    2 Votes
  • Status

    This idea is under consideration

Tags