Expresso
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5
Back to this add-on's main page
View Other Add-ons From PutYourLightsOn
Problem with latin and other entities
Support (Resolved)
netfocus
|
Posted: 04 October 2018 12:40 PM |
|
|
|
Hi,
Before I used Wygwam Editor and there was a built-in feature in the add-on for disabling Latin and other entities.
I switched to Expresso because it’s overall feature and compatibility seems best overall.
But now I am struggling with the fact that I can’t disable the entities even if I change the config file in the Theme folder like this :
CKEDITOR.editorConfig = function( config ) {
config.entities = false;
entities: false,
basicEntities: false,
entities_greek: false,
entities_latin: false,
};
It should d work but it is not! Is there something I’m doing wrong?
It is important for me because the EE search engine does’t find Latin entities and the site language is french.
It means the search engine will not find any word that contain Latin entities.
So I will really appreciate some help here.
Thanks!
|
|
|
netfocus
|
Posted: 04 October 2018 12:44 PM |
# 1
|
|
|
I use this code :
CKEDITOR.editorConfig = function( config ) {
config.entities: false,
config.basicEntities: false,
config.entities_greek: false,
config.entities_latin: false,
};
|
|
|
PutYourLightsOn
|
Posted: 04 October 2018 01:23 PM |
# 2
|
|
Developer
|
You’ll need to add the new config settings to the defaults array in /themes/user/expresso/javascript/expresso.js, so for example:
var defaults = { entities: false,
Let me know if that works for you.
Ben
|
|
|
netfocus
|
Posted: 04 October 2018 05:01 PM |
# 3
|
|
|
Seems to work now.
Thanks!
|
|
|
PutYourLightsOn
|
Posted: 05 October 2018 02:38 AM |
# 4
|
|
Developer
|
Glad to hear it!
|
|
|