Uncomment valid_elements in TinyMCE config
This commit is contained in:
parent
b7a7e4e7ce
commit
f58d6f3597
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@
|
|||
theme_advanced_toolbar_align : "left",
|
||||
|
||||
// More restrictive version of default set, with JS/etc. removed
|
||||
/*valid_elements : "@[id|class|style|title|dir<ltr?rtl|lang|xml::lang],"
|
||||
valid_elements : "@[id|class|style|title|dir<ltr?rtl|lang|xml::lang],"
|
||||
+ "a[rel|rev|charset|hreflang|tabindex|accesskey|type|"
|
||||
+ "name|href|target|title|class],strong/b,em/i,strike,u,"
|
||||
+ "#p,-ol[type|compact],-ul[type|compact],-li,br,img[longdesc|usemap|"
|
||||
|
@ -59,7 +59,7 @@
|
|||
+ "valign|width],dfn,fieldset,"
|
||||
+ "kbd,label[for],legend,optgroup[label|disabled],option[disabled|label|selected|value],"
|
||||
+ "q[cite],samp,select[disabled|multiple|name|size],small,"
|
||||
+ "textarea[cols|rows|disabled|name|readonly],tt,var,big"*/
|
||||
+ "textarea[cols|rows|disabled|name|readonly],tt,var,big"
|
||||
});
|
||||
tinyMCE.execCommand("mceAddControl", true, "tinymce");
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue