mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 14:11:35 +02:00
Merge branch 'master' of github.com:ianstormtaylor/slate
This commit is contained in:
@@ -880,6 +880,7 @@ class Content extends React.Component {
|
||||
data-slate-editor
|
||||
key={this.tmp.forces}
|
||||
ref={this.ref}
|
||||
data-key={document.key}
|
||||
contentEditable={!readOnly}
|
||||
suppressContentEditableWarning
|
||||
className={className}
|
||||
|
@@ -59,6 +59,7 @@ function clean(html) {
|
||||
$.root().children().removeAttr('autocorrect')
|
||||
$.root().children().removeAttr('spellcheck')
|
||||
$.root().children().removeAttr('style')
|
||||
$.root().children().removeAttr('data-gramm')
|
||||
|
||||
return $.html()
|
||||
}
|
||||
|
Reference in New Issue
Block a user