@overlap/rte 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +4 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/utils/settings.d.ts +1 -0
- package/dist/utils/settings.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4118,6 +4118,7 @@ const defaultEditorSettings = {
|
|
|
4118
4118
|
numberedList: true,
|
|
4119
4119
|
quote: true,
|
|
4120
4120
|
codeBlock: true,
|
|
4121
|
+
horizontalRule: true,
|
|
4121
4122
|
check: true,
|
|
4122
4123
|
typography: ["h1", "h2", "h3", "h4", "h5", "h6"],
|
|
4123
4124
|
colors: [
|
|
@@ -4196,6 +4197,9 @@ function buildPluginsFromSettings(settings = defaultEditorSettings, options = {}
|
|
|
4196
4197
|
plugins.push(subscriptPlugin);
|
|
4197
4198
|
if (fmt.superscript)
|
|
4198
4199
|
plugins.push(superscriptPlugin);
|
|
4200
|
+
// Horizontal rule
|
|
4201
|
+
if (fmt.horizontalRule)
|
|
4202
|
+
plugins.push(horizontalRulePlugin);
|
|
4199
4203
|
// Table
|
|
4200
4204
|
if (settings.table?.enabled) {
|
|
4201
4205
|
plugins.push(tablePlugin);
|