Last active
February 15, 2023 03:09
-
-
Save hissy/5f3b2be6d9d6b77a8a5dd7e7817149f6 to your computer and use it in GitHub Desktop.
[Concrete CMS] Change Ckeditor DTD settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// application/config/site.php | |
// https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html | |
$dtd = <<<END | |
CKEDITOR.dtd['a']['div'] = 1; | |
END; | |
return [ | |
'sites' => [ | |
'default' => [ | |
'editor' => [ | |
'ckeditor4' => [ | |
'editor_function_options' => $dtd | |
], | |
], | |
], | |
], | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment