You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
386 B
11 lines
386 B
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
|