1 | import Parchment from 'parchment';
|
2 |
|
3 | let SizeClass = new Parchment.Attributor.Class('size', 'ql-size', {
|
4 | scope: Parchment.Scope.INLINE,
|
5 | whitelist: ['small', 'large', 'huge']
|
6 | });
|
7 | let SizeStyle = new Parchment.Attributor.Style('size', 'font-size', {
|
8 | scope: Parchment.Scope.INLINE,
|
9 | whitelist: ['10px', '18px', '32px']
|
10 | });
|
11 |
|
12 | export { SizeClass, SizeStyle };
|