baden32 Posted August 19, 2021 Share Posted August 19, 2021 TinyMCE editor config installed in my Prestashop 1.7.7.6 is very simple/basic and I would like to change this config: -add css style selector -add font selector -add my own css file (in order to get basic layout of my specific blocs) I found this info https://devdocs.prestashop.com/1.7/development/components/tinymce/ and modified the actionAdminControllerSetMedia hook in order to get my own config file (TinyMceConfig.js) loaded. My file is effectively loaded and it's basic content is the following: window.defaultTinyMceConfig = { toolbar2: 'styleselect,|,formatselect,|,fontselect,|,fontsizeselect,', } Folder /var/cache has been deleted, but unfortunately, nothing changes in the editor (page or product). What am I doing wrong here in order to customize TinyMCE in Prestashop? Thank you in advance for your help. Joe PS: I also found post mentionning changes in js\admin\tinymce.inc.js. If done in this file only the editor in product editing is changed, the one for pages still hase the default config. Link to comment Share on other sites More sharing options...
metalines Posted November 2, 2023 Share Posted November 2, 2023 Hi, Did you figure this out in the end? Thanks Mike Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now