mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
IMPR: TinyMCE fixtures
This commit is contained in:
parent
dab4635488
commit
0d686d28ea
@ -12,19 +12,22 @@ $loader->loadFile($env);
|
|||||||
'test@example.com'
|
'test@example.com'
|
||||||
);*/
|
);*/
|
||||||
|
|
||||||
|
|
||||||
$cfg = TinyMCEConfig::get('cms');
|
$cfg = TinyMCEConfig::get('cms');
|
||||||
$cfg->setOption('forced_root_block', 'p');
|
$cfg->setOption('forced_root_block', 'p');
|
||||||
|
|
||||||
$cfg->setOption(
|
$cfg->setOption(
|
||||||
'valid_elements',
|
'valid_elements',
|
||||||
'strong/b,em/i,a[href|target=_blank],p/div,br,' .
|
'strong[class|style]/b,em[class|style]/i,a[href|target=_blank|style],p[class|style]/div,br,span[class|style],' .
|
||||||
'blockquote,' .
|
'blockquote[class|style],' .
|
||||||
'img[class|src|alt|title|hspace|vspace|width|height|align|name|usemap|data*],' .
|
'h2[class|style],h3[class|style],h4[class|style],h5[class|style],h6[class|style],'.
|
||||||
'iframe[src|name|width|height|align|frameborder|marginwidth|marginheight|scrolling],' .
|
'address[class|style],pre[class|style],hr,'.
|
||||||
'object[width|height|data|type],' .
|
'a[href|rel|title|target|class|style],'.
|
||||||
'embed[src|type|pluginspage|width|height|autoplay],' .
|
'table[class|style],ul[class|style],ol[start|type|class|style],li[class|style],'.
|
||||||
'param[name|value],' .
|
'img[class|style|src|alt|title|hspace|vspace|width|height|align|name|usemap|data*],' .
|
||||||
'map[class|name|id],' .
|
'iframe[class|style|src|name|width|height|align|frameborder|marginwidth|marginheight|scrolling],' .
|
||||||
'area[shape|coords|href|target|alt],' .
|
'object[class|style|width|height|data|type],' .
|
||||||
'ol[start|type]'
|
'embed[class|style|src|type|pluginspage|width|height|autoplay],' .
|
||||||
|
'param[class|style|name|value],' .
|
||||||
|
'map[class|style|name|id],' .
|
||||||
|
'area[class|style|shape|coords|href|target|alt]'
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user