annotate static/js/tinymce/jscripts/tiny_mce/plugins/style/readme.txt @ 157:25a9d67f4d1c
Fix floating images stomping on next story or footer.
author |
Brian Neal <bgneal@gmail.com> |
date |
Mon, 29 Dec 2014 18:17:32 -0600 |
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.
|