Skip to content

Commit

Permalink
fix: default mark map to match extension names
Browse files Browse the repository at this point in the history
  • Loading branch information
ifiokjr committed Jun 11, 2019
1 parent c1a9f59 commit 12e0d79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions @remirror/renderer-react/src/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ const defaultTypeMap: MarkMap = {
doc: Doc,
paragraph: 'p',
image: 'img',
hard_break: 'br',
code_block: CodeBlock,
hardBreak: 'br',
codeBlock: CodeBlock,
text: TextHandler,
};

const defaultMarkMap: MarkMap = {
em: 'em',
strong: 'strong',
italic: 'em',
bold: 'strong',
code: 'code',
link: 'a',
underline: 'u',
Expand Down

0 comments on commit 12e0d79

Please sign in to comment.