quarto-dev / quarto-dev/quarto-cli
Issue when toggling between text editor and visual editor
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I am encountering a problem when toggling between the text editor and visual editor where the reference to my image is getting reformatted causing the image to not display correctly. What is happening is r inline code appears to be getting reformatted from (r here('figs/time_series.png')) to (%60r%20here('figs/time_series.png')%60) which then can't be found when I render the report unless I change it back. Regardless of what I have set as the default version when opening a .qmd it is being opened in visual editor which is causing the code change.
Version 1.118.0
Contributor 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.
Research direction
Reproduce the issue by toggling a .qmd document between the text and visual editors with the inline R image reference shown in the report. Compare the reference before and after toggling, and verify whether the configured default editor is respected; done means the image reference remains valid and the selected editor opens by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100