@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.d.ts
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -4114,6 +4114,7 @@ const defaultEditorSettings = {
|
|
|
4114
4114
|
numberedList: true,
|
|
4115
4115
|
quote: true,
|
|
4116
4116
|
codeBlock: true,
|
|
4117
|
+
horizontalRule: true,
|
|
4117
4118
|
check: true,
|
|
4118
4119
|
typography: ["h1", "h2", "h3", "h4", "h5", "h6"],
|
|
4119
4120
|
colors: [
|
|
@@ -4192,6 +4193,9 @@ function buildPluginsFromSettings(settings = defaultEditorSettings, options = {}
|
|
|
4192
4193
|
plugins.push(subscriptPlugin);
|
|
4193
4194
|
if (fmt.superscript)
|
|
4194
4195
|
plugins.push(superscriptPlugin);
|
|
4196
|
+
// Horizontal rule
|
|
4197
|
+
if (fmt.horizontalRule)
|
|
4198
|
+
plugins.push(horizontalRulePlugin);
|
|
4195
4199
|
// Table
|
|
4196
4200
|
if (settings.table?.enabled) {
|
|
4197
4201
|
plugins.push(tablePlugin);
|