obsidian-markdown-formatting-assistant-plugin icon indicating copy to clipboard operation
obsidian-markdown-formatting-assistant-plugin copied to clipboard

changing text colors with minimum mouse clicks

Open listplot3d opened this issue 3 years ago • 1 comments

With code modification shown below, now when I click the button, then click one of the "saved colors", then color of selected text is directly changed:) This is the way that I found for changing text colors with minimum mouse clicks -- of course this need boxes checked as static config, for"add color" and "add tag" in "colors" section.

Hope it could also be useful to others. Thanks:)


xiao@DESKTOP-F11HG5B /cygdrive/d/xiao/Obsidian Vault/.obsidian/plugins/obsidian-markdown-formatting-assistant-plugin
$ diff 0main\ -\ bk.js main.js
2781c2781
<         symbol: '<span></span>',
---
>         symbol: '<span ></span>',
2783c2783
<         selectionInput: 6,
---
>         selectionInput: 7,


listplot3d avatar Jul 06 '22 04:07 listplot3d

+1 for this idea. You should create a pull request for that.

limex avatar Dec 05 '22 07:12 limex