Some Tags from code editor is not giving output.
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 8.7k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Hi @givanz ,
Cheers for your awesome work! You did really well. Thanks for making this opensource.
I am having 2 problems here.
- Some tags from code editor isn not giving the correct output
When i change page title or link of any CSS file from editor it does not give output - When we checked "Run js code on edit" it throws this error in my project and your project also
builder.js:178 Uncaught TypeError: Cannot read property 'html' of undefined
at Object.setHtml (builder.js:178)
at plugin-codemirror.js:3
at codemirror.js:958
at fireCallbacksForOps (codemirror.js:942)
at finishOperation (codemirror.js:949)
at endOperation (codemirror.js:1691)
at runInOp (codemirror.js:1758)
at TextareaInput.poll (codemirror.js:4088)
at HTMLTextAreaElement.<anonymous> (codemirror.js:4028)
at HTMLTextAreaElement.c (VM1158 rocket-loader.min.js:1)
setHtml @ builder.js:178
(anonymous) @ plugin-codemirror.js:3
(anonymous) @ codemirror.js:958
fireCallbacksForOps @ codemirror.js:942
finishOperation @ codemirror.js:949
endOperation @ codemirror.js:1691
runInOp @ codemirror.js:1758
TextareaInput.poll @ codemirror.js:4088
(anonymous) @ codemirror.js:4028
c @ VM1158 rocket-loader.min.js:1
Let me know if you are looking for more info for reproducing this issue.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reproducing the page-title and CSS-output problems, then inspect builder.js at line 178 and the callback in plugin-codemirror.js. Test the “Run js code on edit” option in both projects and verify that edits produce the expected output without the reported TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100