Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Use DIV instead of P. Fixes #127
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy HUBSCHER committed Jul 18, 2017
1 parent 4fc35bc commit 15bc022
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sidebar/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ const bindings = {
}
};

const Block = Quill.import('blots/block');
Block.tagName = 'DIV';
Quill.register(Block, true);

const fontSizeStyle = Quill.import('attributors/style/size');
fontSizeStyle.whitelist = ['12px', '14px', '16px', '18px', '20px'];
Quill.register(fontSizeStyle, true);
Expand Down

0 comments on commit 15bc022

Please sign in to comment.