Cybero Posted January 19, 2019 Share Posted January 19, 2019 Hi 🙂 I'm trying to change the behavior of the tab key... I would like this one to insert spaces instead of navigating between the differents focus on the page I found this on the CKEditor website but I failed to make it work:https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-tabSpaces I modified the file: applications/core/interface/ckeditor/ckeditor/config.js like this: (add at start of the line, tried at end too) CKEDITOR.editorConfig=function(a){a.tabSpaces=4;a.toolbarGroups=[{name:"document",groups:["mode","document","doctools"]},{name:"clipboard",groups:["clipboard","undo"]},{name:"editing",groups:["find","selection","spellchecker"]},{name:"forms"},{name:"basicstyles",groups:["basicstyles","cleanup"]},{name:"paragraph",groups:["list","indent","blocks","align","bidi"]},{name:"links"},{name:"insert"},{name:"styles"},{name:"colors"},{name:"tools"},{name:"others"},{name:"about"}];a.removeButtons="Cut,Copy,Paste,Undo,Redo,Anchor,Underline,Strike,Subscript,Superscript"; a.removeDialogTabs="link:advanced";}; Could someone help me ? Thank you in advance ! 😎 Link to comment Share on other sites More sharing options...
Cybero Posted January 23, 2019 Author Share Posted January 23, 2019 Nobody ? 😞 Link to comment Share on other sites More sharing options...
beats23 Posted January 23, 2019 Share Posted January 23, 2019 Same here. I was experimenting with the IPS ckeditor today, even deleting the config.js file from the ckeditor root folder and clear browser cache had no effect on the editor settings. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.