Rich Text

Generates

A Rich Text component

Credits

Currently implemented in part using TinyMCE

References

TinyMCE Svelte Integration

Tips & Notes

let options: BuilderOptions = {
  formDefinition: [],
  componentOptions: [
    {
      componentName: "RichText",
      customAttribute: {
        scriptSrc: "...custom-tinymce.min.js",
      },
    },
  ],
};
let options: BuilderOptions = {
  formDefinition: [],
  componentOptions: [
    {
      componentName: "RichText",
      customAttribute: {
        conf: {
          branding: false,
        },
        customEvents: {
          init: (e: Event, editor: Editor) => {},
        },
      },
    },
  ],
};

Demo