mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #17697] issue: browser console error: Uncaught Error: [tiptap error]: The editor view is not available. Cannot access view['hasFocus']. The editor may not be mounted yet #57034
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rgaricano on GitHub (Sep 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17697
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.6.30
Ollama Version (if applicable)
No response
Operating System
ubuntu 24.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Errors Clean Console
Actual Behavior
Debugging custom tool, editing and testing, in some ocassions the chat "freeze" with this error in browser console:
Uncaught Error: [tiptap error]: The editor view is not available. Cannot access view['hasFocus']. The editor may not be mounted yet. at Object.get (index.js:4482:17) at index.js:2686:12 at Object.focus (index.js:60:44) at RichTextInput.svelte:898:22Steps to Reproduce
editing tools and testing its in chat (in debug process).
I didn't recorded its, but after getting repetitive same errors I was interesting and I gathered some information.
Logs & Screenshots
Uncaught Error: [tiptap error]: The editor view is not available. Cannot access view['hasFocus']. The editor may not be mounted yet. at Object.get (index.js:4482:17) at index.js:2686:12 at Object.focus (index.js:60:44) at RichTextInput.svelte:898:22
Additional Information
Solved with:
==>
6bc5d331a2/src/lib/components/common/RichTextInput.svelte (L822-L828)@tjbck commented on GitHub (Sep 24, 2025):
5eaee44daa@rgaricano commented on GitHub (Sep 26, 2025):
It appears again with v0.6.31...now when I delete a previous user message, I tried applying the patch as before, but the problem persists.