Changeset 584935
- Timestamp:
- 08/13/2012 05:17:03 PM (14 years ago)
- Location:
- preserved-html-editor-markup/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
sb_preserved_markup.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
preserved-html-editor-markup/trunk/readme.txt
r457449 r584935 29 29 Known issues: 30 30 31 1. If you do add 4 or more spaces inside of an element tag it will corrupt the markup and mangle the output. But as this is intended for developer edits, this should be an extreme rarity given the habit is virtually non-existent in development communities. 31 1. Multi-line comment blocks, and comments with 4 or more consecutive spaces are not supported at the moment. Because my plugin relies on embedding html comments into the dom, any html comment with a new-line or tab will be embedded with a nested html comment which is not supported by the html spec. The only solution I can suggest is to rely on revision history and simply remove whatever content you were intending to hide. 32 33 1. If you do add 4 or more consecutive spaces inside of an element tag it will corrupt the markup and mangle the output. But as this is intended for developer edits, this should be an extreme rarity given the habit is virtually non-existent in development communities. 32 34 33 35 1. If you use two or three spaces on a line they will be reduced to one. -
preserved-html-editor-markup/trunk/sb_preserved_markup.php
r457449 r584935 143 143 144 144 /* fix WP html editor on client side */ 145 //TODO: this does not work with symlinks (https://bugs.php.net/bug.php?id=46260). 146 // Create a filter for overriding so I don't have to copy this plugin from 147 // the svn repo to my own hg/git repos 145 148 wp_enqueue_script('admin-js', WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__))."admin.js"); 149 //wp_enqueue_script('admin-js', WP_PLUGIN_URL.'/sb_preserved_markup/admin.js'); 146 150 147 151 add_filter('the_editor', array(
Note: See TracChangeset
for help on using the changeset viewer.