summaryrefslogtreecommitdiff
path: root/doc/development/fe_guide/content_editor.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/development/fe_guide/content_editor.md')
-rw-r--r--doc/development/fe_guide/content_editor.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/development/fe_guide/content_editor.md b/doc/development/fe_guide/content_editor.md
index f6329f39636..6cf4076bf83 100644
--- a/doc/development/fe_guide/content_editor.md
+++ b/doc/development/fe_guide/content_editor.md
@@ -54,7 +54,7 @@ the status of the ongoing development for CommonMark and GitLab Flavored Markdow
To include the Content Editor in your feature, import the `createContentEditor` factory
function and the `ContentEditor` Vue component. `createContentEditor` sets up an instance
-of [tiptap's Editor class](https://www.tiptap.dev/api/editor) with all the necessary
+of [tiptap's Editor class](https://www.tiptap.dev/api/editor/) with all the necessary
extensions to support editing GitLab Flavored Markdown content. It also creates
a Markdown serializer that allows exporting tiptap's document format to Markdown.
@@ -90,7 +90,9 @@ export default {
try {
await this.contentEditor.setSerializedContent(this.content);
} catch (e) {
- createFlash(__('There was an error loading content in the editor'), e);
+ createFlash({
+ message: __('There was an error loading content in the editor'), error: e
+ });
}
},
methods: {