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

13 lines
438 B
JavaScript

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