WordPress.org

Plugin Directory

Changeset 584935


Ignore:
Timestamp:
08/13/12 17:17:03 (21 months ago)
Author:
MarcusPope
Message:

no publish update, just updated the readme with new known issues. [JOBID: 4671]

Location:
preserved-html-editor-markup/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • preserved-html-editor-markup/trunk/readme.txt

    r457449 r584935  
    2929Known issues: 
    3030 
    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. 
    3234 
    3335  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  
    143143 
    144144        /* 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  
    145148        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'); 
    146150 
    147151        add_filter('the_editor', array( 
Note: See TracChangeset for help on using the changeset viewer.