@mapomodule/mcp 1.0.0-beta.5 → 1.0.0-beta.6
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/module.json
CHANGED
|
@@ -105,7 +105,7 @@ export const RECIPES = [
|
|
|
105
105
|
{
|
|
106
106
|
id: "rich-text-editor",
|
|
107
107
|
// No "editor" here: the word already points at the menu and block editors.
|
|
108
|
-
task: "Customize a rich text (WYSIWYG) field: Tiptap extensions, HTML source view, toolbar buttons",
|
|
108
|
+
task: "Customize a rich text (WYSIWYG) field: Tiptap extensions, text alignment, links, HTML source view, toolbar buttons",
|
|
109
109
|
keywords: [
|
|
110
110
|
"wysiwyg",
|
|
111
111
|
"rich text",
|
|
@@ -116,12 +116,15 @@ export const RECIPES = [
|
|
|
116
116
|
"edit html",
|
|
117
117
|
"toolbar button",
|
|
118
118
|
"insert table",
|
|
119
|
-
"table"
|
|
119
|
+
"table",
|
|
120
|
+
"text align",
|
|
121
|
+
"alignment",
|
|
122
|
+
"insert link"
|
|
120
123
|
],
|
|
121
124
|
doc: "uikit/form/add-fields.md",
|
|
122
125
|
heading: "WYSIWYG editor",
|
|
123
126
|
seeAlso: ["uikit/form/api.md"],
|
|
124
|
-
summary: "type: 'editor' with attrs.extensions (Tiptap v2), attrs.source (an HTML source view whose value is sanitized and normalized) and attrs.toolbar (buttons for the extensions' commands)."
|
|
127
|
+
summary: "type: 'editor' with attrs.extensions (Tiptap v2), attrs.source (an HTML source view whose value is sanitized and normalized; on by default, app-wide through the module option editor.source), attrs.textAlign (left/centre/right buttons; off by default, app-wide through editor.textAlign) and attrs.toolbar (buttons for the extensions' commands). The toolbar has a Link button and the content is styled without a typography plugin."
|
|
125
128
|
},
|
|
126
129
|
{
|
|
127
130
|
id: "block-editor",
|
package/package.json
CHANGED
|
@@ -135,7 +135,7 @@ export const RECIPES: Recipe[] = [
|
|
|
135
135
|
{
|
|
136
136
|
id: "rich-text-editor",
|
|
137
137
|
// No "editor" here: the word already points at the menu and block editors.
|
|
138
|
-
task: "Customize a rich text (WYSIWYG) field: Tiptap extensions, HTML source view, toolbar buttons",
|
|
138
|
+
task: "Customize a rich text (WYSIWYG) field: Tiptap extensions, text alignment, links, HTML source view, toolbar buttons",
|
|
139
139
|
keywords: [
|
|
140
140
|
"wysiwyg",
|
|
141
141
|
"rich text",
|
|
@@ -147,12 +147,15 @@ export const RECIPES: Recipe[] = [
|
|
|
147
147
|
"toolbar button",
|
|
148
148
|
"insert table",
|
|
149
149
|
"table",
|
|
150
|
+
"text align",
|
|
151
|
+
"alignment",
|
|
152
|
+
"insert link",
|
|
150
153
|
],
|
|
151
154
|
doc: "uikit/form/add-fields.md",
|
|
152
155
|
heading: "WYSIWYG editor",
|
|
153
156
|
seeAlso: ["uikit/form/api.md"],
|
|
154
157
|
summary:
|
|
155
|
-
"type: 'editor' with attrs.extensions (Tiptap v2), attrs.source (an HTML source view whose value is sanitized and normalized) and attrs.toolbar (buttons for the extensions' commands).",
|
|
158
|
+
"type: 'editor' with attrs.extensions (Tiptap v2), attrs.source (an HTML source view whose value is sanitized and normalized; on by default, app-wide through the module option editor.source), attrs.textAlign (left/centre/right buttons; off by default, app-wide through editor.textAlign) and attrs.toolbar (buttons for the extensions' commands). The toolbar has a Link button and the content is styled without a typography plugin.",
|
|
156
159
|
},
|
|
157
160
|
{
|
|
158
161
|
id: "block-editor",
|