[wp-trac] [WordPress Trac] #35299: HTML code doesn't always show in page editor

WordPress Trac noreply at wordpress.org
Fri Apr 1 12:55:05 UTC 2016


#35299: HTML code doesn't always show in page editor
--------------------------+------------------------------
 Reporter:  JustinBBC     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by francbarberini):

 Hi Justin,
 I think this is not a Wordpress or Tinymce editor bug.
 <style> tag is actually not a valid element for Tinymce.

 I found a solution for your problem here:
 [http://wordpress.stackexchange.com/questions/143628/allowing-style-tag-
 in-tinymce-editor.]

 I just tested the code in the answer and it seems to work well.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35299#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list