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.
12 lines
353 B
12 lines
353 B
3 years ago
|
import Parchment from 'parchment';
|
||
|
import { ColorAttributor } from './color';
|
||
|
|
||
|
let BackgroundClass = new Parchment.Attributor.Class('background', 'ql-bg', {
|
||
|
scope: Parchment.Scope.INLINE
|
||
|
});
|
||
|
let BackgroundStyle = new ColorAttributor('background', 'background-color', {
|
||
|
scope: Parchment.Scope.INLINE
|
||
|
});
|
||
|
|
||
|
export { BackgroundClass, BackgroundStyle };
|