Created
August 18, 2025 02:49
-
-
Save biplobice/0b0fd82344dd5ed1fe4a7183bc01749e to your computer and use it in GitHub Desktop.
Revisions
-
biplobice created this gist
Aug 18, 2025 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ <?php // application/config/site.php return [ 'sites' => [ 'default' => [ 'editor' => [ 'ckeditor4' => [ 'custom_config_options' => [ 'entities' => false, // Disables conversion of characters to HTML entities entirely. Example: Stops converting © into ©, or & into &. 'basicEntities' => false, // Prevents encoding of “basic” characters like &, <, >, ", '. 'entities_latin' => false, // Stops encoding Latin-based special characters (like ñ, é, ç) into HTML entities like ñ or é. 'entities_greek' => false, // Prevents encoding of Greek characters (like α, β, Ω) into α, β, etc. 'htmlEncodeOutput' => false, // Prevents CKEditor from encoding content on output (e.g., when switching between WYSIWYG and source view). 'forceSimpleAmpersand' => true, // Prevents CKEditor from converting & into & unless it’s part of a valid HTML entity. ], ], ], ], ], ];