mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Use TinyMCE fancy selects for better usability selecting styles
This was previously disabled because of a bug in TinyMCE on SilverStripe 2.3, but appears to have been resolved since then.
This commit is contained in:
parent
daaa1b3147
commit
7901b02333
@ -10,7 +10,7 @@ HtmlEditorConfig::get('cms')->setOptions(array(
|
|||||||
|
|
||||||
'cleanup_callback' => "sapphiremce_cleanup",
|
'cleanup_callback' => "sapphiremce_cleanup",
|
||||||
|
|
||||||
'use_native_selects' => true, // fancy selects are bug as of SS 2.3.0
|
'use_native_selects' => false,
|
||||||
'valid_elements' => "@[id|class|style|title],#a[id|rel|rev|dir|tabindex|accesskey|type|name|href|target|title"
|
'valid_elements' => "@[id|class|style|title],#a[id|rel|rev|dir|tabindex|accesskey|type|name|href|target|title"
|
||||||
. "|class],-strong/-b[class],-em/-i[class],-strike[class],-u[class],#p[id|dir|class|align|style],-ol[class],"
|
. "|class],-strong/-b[class],-em/-i[class],-strike[class],-u[class],#p[id|dir|class|align|style],-ol[class],"
|
||||||
. "-ul[class],-li[class],br,img[id|dir|longdesc|usemap|class|src|border|alt=|title|width|height|align],"
|
. "-ul[class],-li[class],br,img[id|dir|longdesc|usemap|class|src|border|alt=|title|width|height|align],"
|
||||||
|
Loading…
Reference in New Issue
Block a user