11 lines
386 B
JavaScript
11 lines
386 B
JavaScript
import { ClassAttributor, Scope, StyleAttributor } from 'parchment';
|
|
const SizeClass = new ClassAttributor('size', 'ql-size', {
|
|
scope: Scope.INLINE,
|
|
whitelist: ['small', 'large', 'huge']
|
|
});
|
|
const SizeStyle = new StyleAttributor('size', 'font-size', {
|
|
scope: Scope.INLINE,
|
|
whitelist: ['10px', '18px', '32px']
|
|
});
|
|
export { SizeClass, SizeStyle };
|
|
//# sourceMappingURL=size.js.map
|