Jump to content

Recommended Posts

Posted

Hello

I'm trying to creat a widget and add it to ckeditor. I found this tutorial, but something I make wrong.

First I downloaded this plugin (https://ckeditor.com/cke4/addon/widget). I extracted the downloaded plugin in site\modules\InputfieldCKEditor\plugins. Then I started with the simplebox tutorial. I added a new folder ("simplebox") in site\modules\InputfieldCKEditor\plugins and followed the steps in the tutorial. But I'm struggeling with the part "CKEditor Initialization". I selected "simplebox" and "widget" in the 'extra plugins' section of the field config, but there are no extra toolbar buttons. If I open the page with the textarea there is only a empty field (s. picture). Could you help me?

 

empty_field.JPG

extra_plugins.JPG

CKEditor Settings.JPG

Posted
7 hours ago, cappuccino said:

If I open the page with the textarea there is only a empty field

This is most likely caused by a Javascript error. Open the JS console in your browser dev tools and you should see an error message that sheds some light on the problem.

Looking at your Extra Plugins screenshot, it looks like you have not included the required dependencies for the Widget plugin:

2017-12-31_092821.png.a37ceef5c41082108812caf846ce08cb.png

  • Like 2
Posted
On 30.12.2017 at 9:37 PM, Robin S said:

Looking at your Extra Plugins screenshot, it looks like you have not included the required dependencies for the Widget plugin:

Thanks a lot! I've overlooked this required dependencies. Silly me! :undecided:

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...