@@ -26,8 +26,8 @@ import { createMarkdownSerializer } from './../../../src/extensions/Markdown.js'
2626
2727/**
2828 *
29- * @param editor
30- * @param markdown
29+ * @param { object } editor the editor object
30+ * @param { string } markdown the markdown content
3131 */
3232export function loadMarkdown ( editor , markdown ) {
3333 const stripped = markdown . replace ( / \t * / g, '' )
@@ -36,7 +36,7 @@ export function loadMarkdown(editor, markdown) {
3636
3737/**
3838 *
39- * @param editor
39+ * @param { object } editor the editor object
4040 */
4141export function runCommands ( editor ) {
4242 let found
@@ -51,7 +51,7 @@ export function runCommands(editor) {
5151
5252/**
5353 *
54- * @param editor
54+ * @param { object } editor the editor object
5555 */
5656function findCommand ( editor ) {
5757 const doc = editor . state . doc
@@ -62,8 +62,8 @@ function findCommand(editor) {
6262
6363/**
6464 *
65- * @param editor
66- * @param markdown
65+ * @param { object } editor the editor object
66+ * @param { string } markdown the markdown content
6767 */
6868export function expectMarkdown ( editor , markdown ) {
6969 const stripped = markdown . replace ( / \t * / g, '' )
@@ -72,7 +72,7 @@ export function expectMarkdown(editor, markdown) {
7272
7373/**
7474 *
75- * @param editor
75+ * @param { object } editor the editor object
7676 */
7777function getMarkdown ( editor ) {
7878 const serializer = createMarkdownSerializer ( editor . schema )
0 commit comments