mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-21 14:41:23 +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
|
data-slate-editor
|
||||||
key={this.tmp.forces}
|
key={this.tmp.forces}
|
||||||
ref={this.ref}
|
ref={this.ref}
|
||||||
|
data-key={document.key}
|
||||||
contentEditable={!readOnly}
|
contentEditable={!readOnly}
|
||||||
suppressContentEditableWarning
|
suppressContentEditableWarning
|
||||||
className={className}
|
className={className}
|
||||||
|
@@ -59,6 +59,7 @@ function clean(html) {
|
|||||||
$.root().children().removeAttr('autocorrect')
|
$.root().children().removeAttr('autocorrect')
|
||||||
$.root().children().removeAttr('spellcheck')
|
$.root().children().removeAttr('spellcheck')
|
||||||
$.root().children().removeAttr('style')
|
$.root().children().removeAttr('style')
|
||||||
|
$.root().children().removeAttr('data-gramm')
|
||||||
|
|
||||||
return $.html()
|
return $.html()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user