1
0
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:
Ian Storm Taylor
2017-10-12 14:25:06 -07:00
4 changed files with 6 additions and 6 deletions

View File

@@ -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' }],