Wysiwyg embed

Component ID

2300031

Component name

Wysiwyg embed

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

721

Component created

Component changed

Component body

CKEditor widgets moving in the surrounding content with embed code generated through ajax.

Warning: do not use this module on production websites yet.

Extra CKEditor plugins needed:

Installation:

  • Configure your site so you can create/edit content with ckeditor (configured with the wysiwyg module)
  • Enable the 'Wysiwyg embed button' (admin/config/content/wysiwyg)
  • Test the '</>' button

ToDo list:

This module is, for now, a proof of concept. A Lot of work needs to be done. Therefore, this todolist is not complete :-)

  • Create a text filter so saved content renders the url and other parameters provided in the widget and returns the embed code in a safe way. (for now, you only will see the result after saving when using full html and allowing iframes)
  • Better integration of video_filter module (or not using it).
  • Do not ignore parameters in the dialog to render the result.
  • Validate url in the widget dialog.
  • Better error handling (eg. do not place empty widget in the editor)
  • Sanitize input / security / ...
  • ...

Credits: