Commit Graph
9 Commits
Author SHA1 Message Date
MrMugameandGitHub 37024dd8ec Send Ref details to document editors (#1540) 2025-09-12 19:30:42 +02:00
MrMugameandGitHub d4bd0dc982 Removes sandbox attributes from document editors (#1529)
This has two advantages
- I ran into a situation where I needed popus. I thought it was
reasonable to not allow specific stuff, but I think it's more annoying
than useful
- Removes the warning in the console
2025-09-10 17:14:37 +02:00
MrMugameandGitHub 4706be29e6 Update document editors (#1526)
* Remove old document editor skeleton

* Adjust image viewer to new api

* Add more documentation
2025-09-10 08:26:00 +02:00
Zef Hemel 450ef50df7 Cleanup: more cleanup and moving stuff around 2025-06-17 16:12:18 +02:00
Zef Hemel c3672056fb Eliminate $lib 2025-06-16 18:53:21 +02:00
Zef Hemel 8d3dc4cc4e Refactor, cleanup 2025-06-12 20:30:01 +02:00
MrMugameandGitHub d3cc3e0d48 Add image viewer (#1289)
* Fix legacy support for navigation

* Fixes timing issue with document editors

If silverbullet was directly loaded into a document editor it would set
the darkmode after loading the editor, causing a wrong value to be
passed

* Add basic `image-viewer`

This add adds a basic image viewer using the panzoom library from Timmy
Willison

* Svgs somehow don't accept 100% width

* Make `internal` a property of a message

* Add `editor.sendMessage` syscall

* Update forgotten internal syscall

* Add small info command to image-viewer

* Change indent to two spaces

* Move zoom in button to the right

* Switch rotation direction

* Display mime type instead of file extension
2025-03-14 09:42:23 +01:00
MrMugameandGitHub 81d3732dd2 Update currentPath on file change (#1282) 2025-03-07 20:31:42 +01:00
MrMugameandGitHub e61a447d98 Implementing #913 (#1230)
Implemented custom editors
2025-03-06 15:11:17 +01:00