// if(selectorState) {
// elementHighlight.initialize({
// editableTags: getSelectableTags(),
// onReSelect: (prev) => console.log('onReSelect'),
// onSelect: (cur, prev) => {
// const textElement = textChildElementOnly(cur);
// elementChangesetText.selectElement(document, cur, (data) => {
// console.log({ data })
// changeset.setOriginal(data.original);
// changeset.setPending(data.pending);
// });
// cur.focus();
// },
// onRemove: (cur, prev) => {
// elementChangesetText.cleanup();
// },
// onClickIgnore: (cur, prev) => elementHighlight.removeHighlight(),
// onHoverIgnore: (cur, prev) => console.log('onHoverIgnore'),
// });
// } else {
// elementHighlight.cleanup();
// }
@thinkeloquent/rd2020-designer-app-bookmarklet
1.13.4 • Public • Published/@thinkeloquent/rd2020-designer-app-bookmarklet/
Package Sidebar
Install
npm i @thinkeloquent/rd2020-designer-app-bookmarklet
Weekly Downloads
1
Version
1.13.4
License
ISC
Unpacked Size
5.72 MB
Total Files
150