pwired Posted September 23, 2014 Posted September 23, 2014 I know I should not ask this but need a quick hack and do it right later with css. In processwire v. 2.5.0 how can I let CKEditor accept all html tags ?
Joss Posted September 23, 2014 Posted September 23, 2014 Does this help? http://ckeditor.com/forums/Support/What-is-the-syntax-to-allow-all-content-html-a-h1-p-in-the-config.js-page.
horst Posted September 23, 2014 Posted September 23, 2014 https://processwire.com/talk/topic/7283-ckeditor-how-to-adapt-configjs-and-keep-it-upgradeable/
pwired Posted September 23, 2014 Author Posted September 23, 2014 Thanks Joss but seems to be a 404 I remember from previous pw versions there was an entrance somewhere where you could add html tags to be accepted by TinyMce. I hope there is something similar for the CKEditor.
kongondo Posted September 23, 2014 Posted September 23, 2014 (edited) There is ...it is highly configurable. I am trying to find a conversation we had with teppo and ryan about this....You can add the html you want right in the PW admin in the CKEditor's settings as long as they are not HTML 5 tags...which will get stripped out by HTML purifier... Update Here you go...start from here: https://processwire.com/talk/topic/3023-module-ckeditor/?p=71523 Edited September 23, 2014 by kongondo added link to relevant thread + changed link second time :-)
kongondo Posted September 23, 2014 Posted September 23, 2014 Note that I subsequently updated the link..You should be reading that thread from post #171 onwards...
pwired Posted September 23, 2014 Author Posted September 23, 2014 Thanks, I am already on it: Fields => body => Input => Format Tags
Joss Posted September 23, 2014 Posted September 23, 2014 here is the link again http://ckeditor.com/forums/Support/What-is-the-syntax-to-allow-all-content-html-a-h1-p-in-the-config.js-page And it still doesn't work! Maybe as code? It looks like IP Board removes the end period from the url http://ckeditor.com/forums/Support/What-is-the-syntax-to-allow-all-content-html-a-h1-p-in-the-config.js-page.
pwired Posted September 23, 2014 Author Posted September 23, 2014 Joss, copy and paste the url in the browser seems to work.
pwired Posted September 23, 2014 Author Posted September 23, 2014 I bricked my website while using style tags in the source of body german, english, spanish. body content output is now doubled. Oh man. It´s the last time I tried hacking CKEditor. Back to the drawing board.
Recommended Posts