Skip to content

Commit e8083c3

Browse files
committed
feat: link tag styles will only save if a document_id is defined
1 parent d38057d commit e8083c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ function addNewRules() {
270270
}
271271

272272
function save() {
273-
if (linkTag) {
273+
if (linkTag && linkTag.hasAttribute('document_id')) {
274274
const onlyUnique = (value, index, self) => {
275275
return self.indexOf(value) === index;
276276
};

0 commit comments

Comments
 (0)