mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG Non-breaking space added automatically by TinyMCE on anchors
Everytime TinyMCE is saved, it adds characters immediately after anchors, e.g. <a name="test"></a> - this fix stops TinyMCE from adding those extraneous after the anchors.
This commit is contained in:
parent
daaa1b3147
commit
113545d177
@ -11,7 +11,7 @@ HtmlEditorConfig::get('cms')->setOptions(array(
|
||||
'cleanup_callback' => "sapphiremce_cleanup",
|
||||
|
||||
'use_native_selects' => true, // fancy selects are bug as of SS 2.3.0
|
||||
'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],"
|
||||
. "-ul[class],-li[class],br,img[id|dir|longdesc|usemap|class|src|border|alt=|title|width|height|align],"
|
||||
. "-sub[class],-sup[class],-blockquote[dir|class],"
|
||||
|
Loading…
Reference in New Issue
Block a user