WYSIWYG Elements to Bolt Components
Ideal CKEditor Config
Bolt needs to create an example of CKEditor that can map to web components, and all the related Bolt components need to become web components.
CKEditor Docs
The docs show that mapping each style option to a specific tag and class is possible, but we need to figure out if it can do attributes as well. Otherwise, we'd have to make sure our web components can work without any attributes.
https://github.com/ckeditor/ckeditor-dev/tree/major/plugins
https://docs.ckeditor.com/ckeditor4/latest/guide/dev_acf.html
https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_config.html#cfg-protectedSource
Headlines
Headline 1 is XXLarge Headline
Headline 2 is XLarge Headline
Headline 3 is Large Headline
Text
Body text is medium sized text.
Italic text is emphasized.
Bold text is strong.
Superscript text is sup.
Subscript text is sub.
Link
Blockquote
Blockquote is blockquote component with default settings.
Ordered List
Unordered List
Code
Table
Column 1 | Column 2 | Column 3 | |
---|---|---|---|
Row 1 | Table is the Table component with default settings. | R1C2 | R1C3 |
Row 2 | R2C1 | R2C2 | R2C3 |
Row 3 | R3C1 | R3C2 | R3C3 |
Footer | FC1 | FC2 | FC3 |