1 | import Parchment from 'parchment';
|
2 | import { ColorAttributor } from './color';
|
3 |
|
4 | let BackgroundClass = new Parchment.Attributor.Class('background', 'ql-bg', {
|
5 | scope: Parchment.Scope.INLINE
|
6 | });
|
7 | let BackgroundStyle = new ColorAttributor('background', 'background-color', {
|
8 | scope: Parchment.Scope.INLINE
|
9 | });
|
10 |
|
11 | export { BackgroundClass, BackgroundStyle };
|