[ ] Views. Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema. Dendron Schemas
[ ] Pod. Data import from / export to Dendron
[ ] Publish. External Site Publish
[ ] Markdown. Markdown features, such as syntax support and features
Describe the bug
When creating a note from selection, Dendron fails to respect the read-only mode for files within a workspace.
You can read more about read-only mode in VS Code here and here.
To Reproduce
Steps to reproduce the behavior:
Create a new note (e.g., food-calorie-list.apple.md).
Configure the 'files.readonlyInclude' setting in your dendron.code-workspace file: "files.readonlyInclude": {"food-calorie-list.apple.md": true,}
Open a read-only file/note and select a piece of text.
Use Dendron Lookup and choose the option 'Create New'.
Observe that the selected text fragment has been removed from the file/note (food-calorie-list.apple.md) in the read-only mode and was paste into the new note (i.e. the read-only file has been modified).
Expected behavior
Dendron is expected not to modify files marked as read-only in the dendron.workspace file.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
OS: Ubuntu 22.04.3 LTS
Browser (if with published websites; include version): N/A
Versions (all that apply to bug):
Dendron Extension: 0.124.0
VS Code version: 1.83.1
Dendron CLI: N/A
Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of > Dendron:Dev: Open Logs here
N/A
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
Describe the bug
When creating a note from selection, Dendron fails to respect the read-only mode for files within a workspace. You can read more about read-only mode in VS Code here and here.
To Reproduce
Steps to reproduce the behavior:
"files.readonlyInclude": {"food-calorie-list.apple.md": true,}
Expected behavior
Dendron is expected not to modify files marked as read-only in the dendron.workspace file.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of
> Dendron:Dev: Open Logs
here N/A