brandy Posted August 17, 2022 Share Posted August 17, 2022 Hi! I want to set up an own style for my customer in the CKEditor. I did it like shown here (Custom Editor JS Styles Set):https://processwire.com/docs/fields/ckeditor/ But they don´t show up. I already have refreshed the plugins and in PageRender there is no Page cached! I added following line: { name: 'new Style', element: 'span', attributes: { 'class': 'text-shadow: 0 0 15px #eacd4b' } }, Thanks a lot! Link to comment Share on other sites More sharing options...
virtualgadjo Posted August 17, 2022 Share Posted August 17, 2022 Hi, maybe it's because your class isn't really... a class but a full inline style ? have you tried 'class': 'your_class' and then setting the syles in your css? have a nice day 1 Link to comment Share on other sites More sharing options...
brandy Posted August 17, 2022 Author Share Posted August 17, 2022 Ok, I understand. The problem earlier was that the style wasn´t shown in the toolbar - now I changed the mystyle.js and I can´t see the changes - what do I have to do? Link to comment Share on other sites More sharing options...
brandy Posted August 17, 2022 Author Share Posted August 17, 2022 Ok, thanks - i logged out and in again, and everythings works fine! Thanks a lot! Link to comment Share on other sites More sharing options...
virtualgadjo Posted August 18, 2022 Share Posted August 18, 2022 my pleasure ? have a nice day 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