option merge styles invalid parents





Option: merge_styles_invalid_parents





Option: merge_styles_invalid_parents



This option enables you to specify a regexp with elements you want to exclude from parent mergeing. By default style information are attached to the parent element of a selection if all childrent/the whole element contents is selected. For example if you select a whole strong element and select a font size, the font-size style will be applied to the strong element and not with a wrapping style element. But sometimes you want to force a span element, this is where this option comes in to place. This option is set to nothing by default and applies to the font size/face/color and class drop drown lists.



Example of usage of the merge_styles_invalid_parents option:


tinyMCE.init({
...
// Excludes table cells and strong elements from any parent merge operation
merge_styles_invalid_parents : "^TD|STRONG$"
});





Index
Copyright © 2005 Moxiecode Systems AB







Wyszukiwarka

Podobne podstrony:
option theme?vanced styles
option inline styles
option invalid elements
option extended valid elements
java io InvalidClassException
InvalidPreferencesFormatException
option custom undo redo
Call option
function ldap set option
Alpha Options
InvalidApplicationException
SH Options
option relative urls
OPTIONS
eam fault InvalidUrl

więcej podobnych podstron