@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
22 lines (21 loc) • 1.22 kB
JavaScript
import { ClassicEditor as t, Alignment as l, Autoformat as o, Base64UploadAdapter as i, BlockQuote as n, Bold as m, Essentials as s, FontColor as g, FontFamily as d, FontSize as r, Heading as b, Image as u, ImageCaption as c, ImageStyle as f, ImageToolbar as p, ImageUpload as T, Indent as C, Italic as I, Link as y, List as F, MediaEmbed as S, Paragraph as k, PasteFromOffice as L, Table as h, TableToolbar as x, TextTransformation as A, Undo as P } from "ckeditor5";
import "ckeditor5/ckeditor5.css";
const e = class e extends t {
};
e.builtinPlugins = [l, o, i, n, m, s, g, d, r, b, u, c, f, p, T, C, I, y, F, S, k, L, h, x, A, P], e.defaultConfig = {
toolbar: {
items: ["heading", "fontFamily", "fontSize", "fontColor", "|", "bold", "italic", "link", "bulletedList", "numberedList", "|", "indent", "outdent", "|", "alignment", "|", "imageUpload", "blockQuote", "insertTable", "mediaEmbed", "|", "undo", "redo"]
},
language: "en",
image: {
toolbar: ["imageTextAlternative", "toggleImageCaption", "imageStyle:inline", "imageStyle:block", "imageStyle:side"]
},
table: {
contentToolbar: ["tableColumn", "tableRow", "mergeTableCells"]
},
licenseKey: "GPL"
};
let a = e;
export {
a as default
};