diff --git a/core/server/lib/mobiledoc/cards/card-markdown.js b/core/server/lib/mobiledoc/cards/card-markdown.js new file mode 100644 index 0000000000..cd1f94cf3f --- /dev/null +++ b/core/server/lib/mobiledoc/cards/card-markdown.js @@ -0,0 +1,4 @@ +// this card is just an alias of the `markdown` card which is necessary because +// our markdown-only editor was using the `card-markdown` card name +let markdownCard = require('./markdown'); +module.exports = markdownCard; diff --git a/core/server/lib/mobiledoc/cards/hr.js b/core/server/lib/mobiledoc/cards/hr.js index 06022a2a19..3df54808ec 100644 --- a/core/server/lib/mobiledoc/cards/hr.js +++ b/core/server/lib/mobiledoc/cards/hr.js @@ -1,5 +1,5 @@ module.exports = { - name: 'card-hr', + name: 'hr', type: 'dom', render(opts) { return opts.env.dom.createElement('hr'); diff --git a/core/server/lib/mobiledoc/cards/html.js b/core/server/lib/mobiledoc/cards/html.js index 0fff642df6..40d1df9a5f 100644 --- a/core/server/lib/mobiledoc/cards/html.js +++ b/core/server/lib/mobiledoc/cards/html.js @@ -1,7 +1,7 @@ 'use strict'; module.exports = { - name: 'card-html', + name: 'html', type: 'dom', render(opts) { let html = `