![]() ![]() With this plugin, CKEditor will automatically expand and shrink vertically depending on the amount and size of content entered in its editing area. ![]() That sets all the editors to the height of their containers.Įdit: Added conditonal to code in case we don't have any CKEditors in the template. 1 Answer Sorted by: 2 Use Auto Grow addon. See Django’s documentation on managing static files for more info. CKEditor 5 no longer comes with a configuration setting to change its height. When I change the source to include the height style as below it renders fine. The editor height, in CSS size format or pixel integer. I cant get height 100 to work with the new CKeditor 3.0 with default settings. This will copy static CKEditor required media resources into the directory given by the STATICROOT setting. 85,917 Solution 1 Answering my own question as it might help others. Posts: 1 Setting editor area height to 100 Hi. Run the collectstatic management command. If you do some testing note that it's really easy to add custom markup to any inputfield via hook:īefore I spotted your reply though I'd hooked into ProcessPageEdit to load an external js file:įunction resizeEditor ( HookEvent $event ) Add ckeditor to your INSTALLEDAPPS setting. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |