--- title: Wysiwyg layout: nested-component.html github: components/forms/wysiwyg.html ---

Wysiwyg CKEditor

We offer 2 pre-configured wysiwyg editors that you can use in your forms.
We have chosen to use CKEditor as it so far has been the least buggy and most flexible solution.
You can configure the individual editors using the data-options attribute, or when instantiating in javascript by calling the $('myElement').wysiwyg({options...}); method. Good luck with configuring it though.

By default, you will get the advanced wysiwyg in your forms, but you can choose which version you want by defining the data-wysiwyg-type attribute on your textarea.

Type Description
'simple' FOR MOBILE PLATFORMS this wysiwyg only offers the ability to wrap text in common html elements. It does not offer any inline-styling options.
'advanced' This wysiwyg offers a complete wysiwyg editor with all common html elements aswell as options to add inline styles and more.

Default / Advanced

Loading...

NYI

Simple

Loading...

NYI