Hi, I just tried the pe:ckEditor component. So far it looks good. But I would like to use the inline mode.
Is it possible to change from the normal mode to inline mode?
Thanks in advance
CKEditor inline mode
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
If you check, how you can switch to inline mode with the pure js version, i might help you to do this with the jsf version.
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
The normal way to start CKEditor is:
I guess primefaces extension is jusing this call.
To enable inline editing you have to call:
I don't think I can configure the behavior through an external config file.
Hmm, I just read this on the CKEditor site:
Code: Select all
CKEDITOR.replace( 'textarea_id' );
To enable inline editing you have to call:
Code: Select all
CKEDITOR.inline( 'textarea_id' );
Hmm, I just read this on the CKEditor site:
That could be troublesome with primefaces I guess...Since CKEditor 4.2 you can also turn <textarea> elements into inline editors. When you call the CKEDITOR.inline method on a <textarea>, an additional <div> element with inline editing enabled will replace the original <textarea>.
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
ok, this is currently not possbile.
But feel free to create a pull request and provide this feature. As you may know, PFExtensions is a community based project
But feel free to create a pull request and provide this feature. As you may know, PFExtensions is a community based project
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests