mirror of https://github.com/laurent22/joplin.git
parent
5fb9d216fc
commit
587db433a8
|
@ -48,7 +48,7 @@ const updateListWithDetails = function (dom, el, detail) {
|
|||
};
|
||||
|
||||
const removeStyles = (dom, element: HTMLElement, styles: string[]) => {
|
||||
Tools.each(styles, (style) => dom.setStyle(element, { [style]: '' }));
|
||||
Tools.each(styles, (style) => dom.setStyle(element, style, ''));
|
||||
};
|
||||
|
||||
const getEndPointNode = function (editor, rng, start, root) {
|
||||
|
|
|
@ -1576,7 +1576,7 @@
|
|||
var removeStyles = function (dom, element, styles) {
|
||||
Tools.each(styles, function (style) {
|
||||
var _a;
|
||||
return dom.setStyle(element, (_a = {}, _a[style] = '', _a));
|
||||
return dom.setStyle(element, style, '');
|
||||
});
|
||||
};
|
||||
var getEndPointNode = function (editor, rng, start, root) {
|
||||
|
|
Loading…
Reference in New Issue