HTML Source in WYSIWYG

Hi,

I've tried to follow the instructions here: https://h5p.org/adding-text-editor-buttons

To try and add the Source Dialog plugin without success,

I'm on Wordpress using a custom plugin, could some one please give the relevant code to do this in both CKEditor settings and custom plugin?

Many thanks,

PS In the next release could I recommend changing CKEditor to the 'full' version here: https://ckeditor.com/builder

Or allowing a simpler way just to build your own CKEditor from the website and just import it into H5P, I think a lot of problems would be solved if that was possible and many more features available on demand

tomaj's picture

Hi,

I the only example code I can think of is found here: https://github.com/h5p/h5pmods-wordpress-plugin

Thanks for the tip.

- Tom

tim's picture

Just to add to Tom Arild's answer, the reason why the full version of the CKEditor is not added is the amount of testing that would be required if it was. 

In order to maintain a good user experience across browsers, platforms, and content types the editor is purposefully limited. However, it is certainly possible to add whatever functionality you may require if you have a developer on hand to modify the source code.