Editor not loading
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- html, javascript
- Domain
- frontend
Research direction
Start by reproducing the intermittent initial-load failure with the shown TinyMCE.Blazor.Editor component in a Blazor app using the hosted editor, then inspect the TinyMCE console errors involving tinymce.min.js and theme.min.js. The issue gives no project files or test to target, so trace how the component initializes the editor and compare a failing load with a successful one. Done means the editor loads reliably on the initial component load.
Written by the indexing model from the issue text.
Description
As the title suggests I have an issue where sometimes the editor will not load, I have followed the example for setting up a blazor app to use the hosted version of the editor component.
I'm sure its me doing something wrong so any pointers would be helpful
This is how the editor is added to the page, like I say it works most of the time but on the initial load of the component it doesnt seems to.
<TinyMCE.Blazor.Editor Conf="editorConf" @bind-Value="@Question.QuestionText" Field="() => Question.QuestionText" ApiKey="" />
There are 2 messages in the console output
Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at tinymce.min.js:9:26875
at HTMLLinkElement.h (tinymce.min.js:9:26961)
and
Uncaught TypeError: Cannot read properties of null (reading 'innerWidth')
at jA. (theme.min.js:9:279034)
at hA.dispatch (tinymce.min.js:9:372724)
at jA.dispatch (tinymce.min.js:9:373978)
at Array. (tinymce.min.js:9:400272)
at Ne (tinymce.min.js:9:5303)
at Object.KA (tinymce.min.js:9:400182)
at ia.executeHandlers (tinymce.min.js:9:52234)
at i (tinymce.min.js:9:50072)
- Dominant language
- HTML
- Stars
- 57
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tinymce/tinymce-blazor
-
status: escalated
Difficulty 1/5 Under an hour Newbie friendliness 42/100
tinymce/tinymce-blazor#89 · 3 comments · 7 reactions ·
-
bug status: escalated
Difficulty 3/5 1-2 days Newbie friendliness 35/100
tinymce/tinymce-blazor#83 · 5 comments ·
-
Clarity on ScriptSrcOpendocumentation GitHub status: escalated
Difficulty 1/5 Under an hour Newbie friendliness 35/100
tinymce/tinymce-blazor#70 · 4 comments · 1 reaction ·
-
Debounce/delayOpenenhancement GitHub
Difficulty 4/5 3-5 days Newbie friendliness 28/100
tinymce/tinymce-blazor#58 · 2 comments ·
-
GitHub help wanted
Difficulty 4/5 3-5 days Newbie friendliness 30/100
tinymce/tinymce-blazor#33 · 5 comments · 1 reaction ·
All issues in tinymce/tinymce-blazor
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vetro-protocol/vetro-monorepo#1321 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Action playback and Record Again still open Convert to Frame with the old 1 to 300000 integer fields and no unit readingPossibly taken @Higgs32584 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
storytold/photocraft#20578 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bugfix
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day