3.0.0 • Published 3 years ago
ckeditor-featureblock v3.0.0
ckeditor-featureblock
The Feature Block (labeled "Feature Box" in the UI) is a custom CKEditor plugin for the CKEditor WYSIWYG. The output is basically a title with a content body. This makes it useful for highlighting some content in the main body of text.
It also provides an option for alignment within the page.
Markup output:
<feature-block class="u-width--half u-align--right">
<div slot="figure"><img src="/my-image.png"></div>
<div slot="title">Title</div>
<div slot="body"><p>Content</p></div>
</feature-block>
This markup can be used as a web component or filtered on output to display any desired markup. The advantage of this data model is that it is now based on a standard web component.