management/front/dkha-web-sz-main/node_modules/quill/formats/background.js

12 lines
353 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
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 };