Skip to content

Setting codeblocks to readonly prevents modifying config.edn πŸ€¦β€β™‚οΈΒ #112

@Bad3r

Description

@Bad3r

What Happened?

this issue is a limitation due to using CodeMirror as the only way to edit config.edn in the db version.

Once codemirror is set to readonly there is no way to edit config.edn to reset the setting πŸ€¦β€β™‚οΈ in the MD version it was possible to just edit the text file.

Reproduce the Bug

  1. Navigate to config.edn from settings
  2. modify codemirror options to enable readonly mode:
 :editor/extra-codemirror-options
 {:lineWrapping  true  ; Default value: false
 :lineNumbers    true  ; Default value: true
 :readOnly       true} ; Default value: false
  1. Now its impossible to reset it

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions