Use case or problem
While in reading mode, changes can still be made to the properties section.
It is easy to accidentally click “x” on a tag or list item for example and thus unintentionally change note content. I could see this being a larger issue on mobile with accidental touches.
Proposed solution
Locking the fields while in reading mode would prevent this.
Css quasi-workaround below for anyone interested. This removes the “Add property” button and “x” from tags. It doesn’t prevent the tags from being backspaced but it makes it look more polished.
Only affects the inline Properties pane. The sidebar properties remains unchanged.
Targeting with css class “lock-metadata”:
/* Remove add properties button */
.lock-metadata .metadata-container > .metadata-content > .metadata-add-button {
display: none
}
/* X button on tags and lists */
.lock-metadata .metadata-container .multi-select-pill-remove-button {
display: none
}
/* X button on tags and lists */
.lock-metadata .metadata-container .multi-select-pill {
padding-right: 0.7em;
}
Alternatively apply to all notes:
/* Remove add properties button */
.mod-header .metadata-container > .metadata-content > .metadata-add-button {
display: none
}
/* X button on tags and lists */
.mod-header .metadata-container .multi-select-pill-remove-button {
display: none
}
/* X button on tags and lists */
.mod-header .metadata-container .multi-select-pill {
padding-right: 0.7em;
}
This should really be a core setting, honestly. It’s silly how you can make changes by mistake just scrolling through notes even when you’ve specifically chosen to be in reading, aka not editing, mode.