obsidian-commander icon indicating copy to clipboard operation
obsidian-commander copied to clipboard

Is there any way to hide the “toggle editing/reading view” button in the "Page Header"?

Open Hunter-Bobeck opened this issue 3 years ago • 9 comments

(If not, this could be a feature request!)

Hunter-Bobeck avatar Oct 15 '22 23:10 Hunter-Bobeck

Yes, I am interested on this. This would difficult to edit the notes if you want to work on a read-only similar mode (for sharing a vault' contents to others, for example).

Darkbluetest avatar Dec 05 '22 13:12 Darkbluetest

I really hope this happen. This toggle is the only useless thing left in my setup right now. (Even if I used reading mode, there is a command and a shortcut for that.)

charle36 avatar Mar 02 '24 16:03 charle36

agreed.

options to toggle builtin buttons in obsidian will provide a lot of custom functionality

semisenioritis avatar Mar 27 '24 20:03 semisenioritis

This CSS snippet works to remove the toggle:

.clickable-icon[aria-label*="Current view:"] { display: none; }

charle36 avatar Apr 15 '24 15:04 charle36

@charle36 lol almost forgot that obsidian is literally a browser and u can just delete things using CSS XD

on another note, any idea of how to get the new note button to trigger a unique note? will a js snippet work?

semisenioritis avatar Apr 16 '24 06:04 semisenioritis

Unique note?

charle36 avatar Apr 16 '24 12:04 charle36

its a builtin core plugin to insert a note with the title as the current timestamp and body based on template

semisenioritis avatar Apr 18 '24 07:04 semisenioritis

Thw plugin add a side bar button to create a note with a timestamp. If you don't like that button, you can create your own (sidebar with Commander, inline with Meta Bind).

charle36 avatar Apr 19 '24 19:04 charle36

Already using commander for a custom button, thing is I end up accidentally opening a new note using the "new note" button.

Just wanted to know if can remap this button to create a quick note instead

semisenioritis avatar Apr 20 '24 00:04 semisenioritis