annotate static/js/tinymce/jscripts/tiny_mce/plugins/style/readme.txt @ 91:c15b50f1ebfc

For Django 1.5: Don't include old photologue URLs. They still use the old function style generic views, which are missing from Django 1.5. Since I don't use these URLs, and at some point they broke in the admin, just get rid of them for now.
author Brian Neal <bgneal@gmail.com>
date Tue, 27 Aug 2013 20:54:38 -0500
parents 966cde8635c0
children
rev   line source
bgneal@45 1 Edit CSS Style plug-in notes
bgneal@45 2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bgneal@45 3 Unlike WYSIWYG editor functionality that operates only on the selected text,
bgneal@45 4 typically by inserting new HTML elements with the specified styles.
bgneal@45 5 This plug-in operates on the HTML blocks surrounding the selected text.
bgneal@45 6 No new HTML elements are created.
bgneal@45 7
bgneal@45 8 This plug-in only operates on the surrounding blocks and not the nearest
bgneal@45 9 parent node. This means that if a block encapsulates a node,
bgneal@45 10 e.g <p><span>text</span></p>, then only the styles in the block are
bgneal@45 11 recognized, not those in the span.
bgneal@45 12
bgneal@45 13 When selecting text that includes multiple blocks at the same level (peers),
bgneal@45 14 this plug-in accumulates the specified styles in all of the surrounding blocks
bgneal@45 15 and populates the dialogue checkboxes accordingly. There is no differentiation
bgneal@45 16 between styles set in all the blocks versus styles set in some of the blocks.
bgneal@45 17
bgneal@45 18 When the [Update] or [Apply] buttons are pressed, the styles selected in the
bgneal@45 19 checkboxes are applied to all blocks that surround the selected text.