allgemeine korrekturen,
This commit is contained in:
@@ -1 +1 @@
|
||||
1.1.80
|
||||
1.2.1
|
||||
@@ -503,7 +503,9 @@
|
||||
const walk = (orig, copy) => {
|
||||
if (!orig || !copy) return;
|
||||
if (orig.nodeType === 1 && copy.nodeType === 1) {
|
||||
if (styleTags.has(orig.tagName) && orig.getAttribute('data-gjs-type') !== 'default') {
|
||||
const gjsType = orig.getAttribute('data-gjs-type');
|
||||
const isTextNode = gjsType === 'text';
|
||||
if ((styleTags.has(orig.tagName) || isTextNode) && gjsType !== 'default' && orig.tagName !== 'BR') {
|
||||
const cs = winRef.getComputedStyle(orig);
|
||||
let style = copy.getAttribute('style') || '';
|
||||
const hasStyle = (name) => new RegExp(`${name}\\s*:`, 'i').test(style);
|
||||
|
||||
Reference in New Issue
Block a user