WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #20993, comment 5


Ignore:
Timestamp:
06/18/12 20:37:47 (22 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20993, comment 5

    v1 v2  
    44 
    55On the other hand there's a function in TinyMCE to display the underlying html code in a (large) popup. That gives access to the "full" html code without messing with the JS autop and filtering. It's very easy to enable, a plugin would only need to add 'code' to the buttons. Was even thinking to add that by default to the second toolbar row in TinyMCE. 
     6 
     7Can be tested by running this from the browser's console: 
     8 
     9{{{ 
     10tinymce.activeEditor.execCommand('mceCodeEditor'); 
     11}}}