Skip to content

Commit

Permalink
fix typing after <a><strong>test</strong></a>
Browse files Browse the repository at this point in the history
right before mutation events are fired the tags will swap places, can
confirm by logging synchronous MutationEvent
  • Loading branch information
jhchen committed Nov 21, 2019
1 parent 1642768 commit 0c3b286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blots/inline.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ Inline.allowedChildren = [Inline, Break, EmbedBlot, Text];
Inline.order = [
'cursor',
'inline', // Must be lower
'link', // Chrome wants <a> to be lower
'underline',
'strike',
'italic',
'bold',
'script',
'link',
'code', // Must be higher
];

Expand Down

0 comments on commit 0c3b286

Please sign in to comment.