mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 23:59:25 +08:00
fix bug
This commit is contained in:
parent
0fdfe33820
commit
9c411f4830
@ -76,7 +76,7 @@ export default {
|
||||
previousPage() {
|
||||
let previousIndex = this.currentIndex - 1
|
||||
|
||||
while (this.flattenedItems[previousIndex].redirect) {
|
||||
while (this.flattenedItems[previousIndex]?.redirect) {
|
||||
previousIndex -= 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user