Open zsviczian opened 2 years ago
Thank you. This plugin is very wonderful.And i wang to know when do you plan to add the feature of color palette?
@hua03, the color palette is already added: https://youtu.be/2v9TZmQNO8c If you want multiple palettes, it is doable with a very simple script. Unzip the attached and place the two files into your Excalidraw/Scripts folder. Modify the MD file with the colors you'd like in your custom palette.
Thank you very much. Have a nice day.
@zsviczian, I have to admit, I'm flashed with all the oportunities your plugin provides by adding excalidraw into obsidian with all this scripts available. :-) What I'm really missing are some presets for the freehand tool. At least one for toggle between full opacity and half opacity (useage as a marker). Having a marker preset with a certain color would also be nice. It would come in handy for doing sketchnotes and add some color. I thought it should be possible adding such a script, tried ea.getExcalidrawAPI().setActiveTool(), but couldn't get it to work. Maybe I'm in wrong direction? A push in the right direction or an example script for extending it would really be great.
The freedraw tool has been on my todo list for a long time because the perfect freehand library that Excalidraw is using is so powerful. Check it out here: https://perfect-freehand-example.vercel.app/
Unfortunately, just when I was ready to work on new features along came Obsidian 0.15.x which consumed lots of energy... and still there are some pesky bugs I need to clear from the system.
I hope to get back on track with new features soon, and improvements to the freedraw tool are definitely on top of my wishlist as well.