Open max-nextcloud opened 2 weeks ago
Very nice, unfortunately this does not seem to fix the initial update step stent for read only sessions.
Also happens without headings for files that have not been opened by a write session before:
Additional backend attempt at https://github.com/nextcloud/text/pull/5895
Very nice, unfortunately this does not seem to fix the initial update step stent for read only sessions.
Yes... that's exactly what I wondered this morning - whether the toc transaction was really the cause.
Thanks for coming up with the backend fix. I'll take a look at it.
Since this does not fix the 403s fully, there's no rush to get it into todays RC anymore.
I'll fix the tests and see if it fixes https://github.com/nextcloud/collectives/issues/1114 .
I fixed quite a few of the cypress tests and the failing ones are also failing for me locally.
One major issue remains though. When typing at the beginning of the heading nothing happens. I suspect this is due to the slightly different markup:
previously:
now:
(or without the span when the renderHTML function is left untouched.)
It's fairly hard to bring back the anchor in front of the span inside the heading tag.
One major issue remains though. When typing at the beginning of the heading nothing happens. I suspect this is due to the slightly different markup:
I figured it out. By default decorations are put behind the cursor in the given position. Adding a { side: -1 }
fixed that and now the cursor is between the anchor and the first letter of the heading and typing works just fine.
📝 Summary
🚧 TODO
🏁 Checklist
npm run lint
/npm run stylelint
/composer run cs:check
)