Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/nodes
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-14 18:52:14 +0300
committerVinicius Reis <vinicius.reis@nextcloud.com>2022-08-17 17:31:01 +0300
commitffc7999468e284beb577dd35b0bf19e82c969198 (patch)
tree6d61de7adfe13b9fbac2af0782fc3ffc4d1b211a /src/nodes
parent66b0aefbdbdd607d16ac6c1d94874ab14cf9b781 (diff)
Fix animation to only trigger if the heading node actually changed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/nodes')
-rw-r--r--src/nodes/Heading.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nodes/Heading.js b/src/nodes/Heading.js
index 8442f68aa..94d122a5a 100644
--- a/src/nodes/Heading.js
+++ b/src/nodes/Heading.js
@@ -8,6 +8,10 @@ const Heading = TipTapHeading.extend({
default: undefined,
rendered: true,
},
+ uuid: {
+ default: undefined,
+ rendered: false,
+ },
}
},
addKeyboardShortcuts() {