mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 19:01:54 +02:00
Merge branch 'master' of github.com:ianstormtaylor/slate
This commit is contained in:
@@ -27,7 +27,7 @@ const String = new Record({
|
||||
const TEXT_RULE = {
|
||||
|
||||
deserialize(el) {
|
||||
if (el.tagName == 'br') {
|
||||
if (el.tagName.toLowerCase() == 'br') {
|
||||
return {
|
||||
kind: 'text',
|
||||
ranges: [{ text: '\n' }],
|
||||
|
Reference in New Issue
Block a user