Commit | Line | Data |
---|---|---|
7f254ad8 AE |
1 | Edit CSS Style plug-in notes |
2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
3 | Unlike WYSIWYG editor functionality that operates only on the selected text, | |
4 | typically by inserting new HTML elements with the specified styles. | |
5 | This plug-in operates on the HTML blocks surrounding the selected text. | |
6 | No new HTML elements are created. | |
7 | ||
8 | This plug-in only operates on the surrounding blocks and not the nearest | |
9 | parent node. This means that if a block encapsulates a node, | |
10 | e.g <p><span>text</span></p>, then only the styles in the block are | |
11 | recognized, not those in the span. | |
12 | ||
13 | When selecting text that includes multiple blocks at the same level (peers), | |
14 | this plug-in accumulates the specified styles in all of the surrounding blocks | |
15 | and populates the dialogue checkboxes accordingly. There is no differentiation | |
16 | between styles set in all the blocks versus styles set in some of the blocks. | |
17 | ||
18 | When the [Update] or [Apply] buttons are pressed, the styles selected in the | |
19 | checkboxes are applied to all blocks that surround the selected text. |