1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/quill/formats/direction.js

13 lines
438 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
import Parchment from 'parchment';
let config = {
scope: Parchment.Scope.BLOCK,
whitelist: ['rtl']
};
let DirectionAttribute = new Parchment.Attributor.Attribute('direction', 'dir', config);
let DirectionClass = new Parchment.Attributor.Class('direction', 'ql-direction', config);
let DirectionStyle = new Parchment.Attributor.Style('direction', 'direction', config);
export { DirectionAttribute, DirectionClass, DirectionStyle };