Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules1/quill/formats/background.js
T
2026-09-10 15:40:10 +08:00

12 lines
353 B
JavaScript

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 };