d0a228bf | 21-Nov-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix ProseMirror handling of diagrams with non-ASCI characters
Fixes #51 |
5fbec2e8 | 08-Aug-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Strip namespaces from downloadable files |
e0dfc516 | 07-Aug-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Change handling of file names during download to enable security checks |
85b189d6 | 07-Aug-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Code style |
3c60dc33 | 07-Aug-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Button icons with inline SVG instead of img |
a5199261 | 03-Aug-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Download PNG via AJAX |
baaaacc0 | 01-Aug-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Add button to download diagram PNG if it exists in cache |
0d9707b1 | 31-Jul-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Attach download and open buttons to diagrams |
521afd4e | 31-Jul-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix reloading page after editing a diagram
Use replace() instead of reload() to avoid accidentally re-submitting forms |
ecda3dc3 | 06-Jul-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Rewrite links when SVG object is loaded |
9630af60 | 05-Jul-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Link target in SVG diagrams - rewrites independent of template amd sensitive to DOM manipulation by scripts |
ae61245c | 03-Jul-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Another fix for link target in diagrams
Link target rewrites happen on each click, not only on initial page load, because section edits destroy them. |
0e8c676d | 22-Jun-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
When creating a diagram, check for existing files |
d1b7e38e | 25-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix event listener removal
using bind() creates a new function reference, causing the event removal call to not match the registration. This saves the bound listener reference to use it in the edito
fix event listener removal
using bind() creates a new function reference, causing the event removal call to not match the registration. This saves the bound listener reference to use it in the editor removal again.
See also https://stackoverflow.com/a/22870717
show more ...
|
fc9883e9 | 24-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
use textContent not innerText to read values
innerText applies CSS transformations we don't want |
2bec1a22 | 22-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
save PNG file with the SVG for use in PDF export |
dce55f69 | 16-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
wrap diagrams for better styling
Diagrams now have a wrapper div that makes it easier to align the edit button with the diagram. In the future more controls (like download options) or nicer styling
wrap diagrams for better styling
Diagrams now have a wrapper div that makes it easier to align the edit button with the diagram. In the future more controls (like download options) or nicer styling would be possible.
show more ...
|
ca5b8841 | 15-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
ensure only diagram files can be edited/selected |
82062fdc | 15-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
correctly handle embed edits in prosemirror |
b30cbf76 | 15-May-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Prosemirror: simplify form constructor |
8a1c0484 | 15-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
improve prosemirror behaviour
avoid duplication on drag use pointer cursor |
b06dddfb | 15-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
honor configured mode in prosemirror menu |
59de49e7 | 15-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
add icons in menu |
d40ddfce | 15-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
make everything work :-D |
d2d69a96 | 15-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
Prosemirror: don't submit the form on button presses |