Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #237 from jeromesimeon/js-chore-transform-0.9.10
Browse files Browse the repository at this point in the history
chore(dep) Markdown Transform 0.9.10 ; Fix for html_inline node
  • Loading branch information
DianaLease authored Feb 18, 2020
2 parents 5cc7771 + 458396f commit a975f46
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
40 changes: 20 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@
"not op_mini all"
],
"dependencies": {
"@accordproject/markdown-html": "^0.9.9",
"@accordproject/markdown-slate": "^0.9.9",
"@accordproject/markdown-html": "^0.9.10",
"@accordproject/markdown-slate": "^0.9.10",
"@babel/runtime": "^7.8.4",
"css-loader": "^3.2.0",
"immutable": "^3.8.2",
Expand All @@ -115,4 +115,4 @@
"slate-plain-serializer": "^0.7.10",
"style-loader": "^0.23.1"
}
}
}
2 changes: 1 addition & 1 deletion src/SlateAsInputEditor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const SlateAsInputEditor = React.forwardRef((props, ref) => {
case 'image':
return <img {...attributes} alt={node.data.get('title')} src={node.data.get('href')}/>;
case 'html_inline':
return <span className='html_inline' {...attributes}>{children}</span>;
return <span className='html_inline' {...attributes}>{node.data.get('content')}</span>;
case 'softbreak':
return <span className='softbreak' {...attributes}> {children}</span>;
case 'linebreak':
Expand Down

0 comments on commit a975f46

Please sign in to comment.