Continuing the discussion from Nextcloud introduces collaborative rich text editor:
See this Github discussion on the Notes app for details of replacing SimpleMDE with Tiptap.