Skip to content

Commit

Permalink
Test Update allowedchildren
Browse files Browse the repository at this point in the history
  • Loading branch information
himynameistimli committed Jul 17, 2018
1 parent 098ae7e commit 715f76f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ let BlockEmbed = Quill.import('blots/block/embed');
let Inline = Quill.import('blots/inline');
let TextBlot = Quill.import('blots/text');
let Embed = Quill.import('blots/text');
let Container = Quill.import('blots/container');
let Blockquote = Quill.import('formats/blockquote');

let Link = Quill.import('formats/link');
let Icon = Quill.import('ui/icons');
Expand Down Expand Up @@ -32,7 +32,7 @@ class TweetBlot extends BlockEmbed {
TweetBlot.blotName = 'tweet';
TweetBlot.tagName = 'div';
TweetBlot.className = 'ql-tweet';

TweetBlot.allowedChildren = [Inline, TextBlot, Embed, Blockquote];
Icon['tweet'] = TweetBlot.icon();


Expand Down

0 comments on commit 715f76f

Please sign in to comment.