History log of /plugin/diagrams/script/ (Results 1 – 25 of 70)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d0a228bf21-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Fix ProseMirror handling of diagrams with non-ASCI characters

Fixes #51

5fbec2e808-Aug-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Strip namespaces from downloadable files

e0dfc51607-Aug-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Change handling of file names during download to enable security checks

85b189d607-Aug-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Code style

3c60dc3307-Aug-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Button icons with inline SVG instead of img

a519926103-Aug-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Download PNG via AJAX

baaaacc001-Aug-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Add button to download diagram PNG if it exists in cache

0d9707b131-Jul-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Attach download and open buttons to diagrams

521afd4e31-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

ecda3dc306-Jul-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Rewrite links when SVG object is loaded

9630af6005-Jul-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Link target in SVG diagrams - rewrites independent of template amd sensitive to DOM manipulation by scripts

ae61245c03-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.

0e8c676d22-Jun-2023 Anna Dabrowska <dabrowska@cosmocode.de>

When creating a diagram, check for existing files

d1b7e38e25-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 ...

fc9883e924-May-2023 Andreas Gohr <andi@splitbrain.org>

use textContent not innerText to read values

innerText applies CSS transformations we don't want

2bec1a2222-May-2023 Andreas Gohr <andi@splitbrain.org>

save PNG file with the SVG for use in PDF export

dce55f6916-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 ...

ca5b884115-May-2023 Andreas Gohr <andi@splitbrain.org>

ensure only diagram files can be edited/selected

82062fdc15-May-2023 Andreas Gohr <andi@splitbrain.org>

correctly handle embed edits in prosemirror

b30cbf7615-May-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Prosemirror: simplify form constructor

8a1c048415-May-2023 Andreas Gohr <andi@splitbrain.org>

improve prosemirror behaviour

avoid duplication on drag
use pointer cursor

b06dddfb15-May-2023 Andreas Gohr <andi@splitbrain.org>

honor configured mode in prosemirror menu

59de49e715-May-2023 Andreas Gohr <andi@splitbrain.org>

add icons in menu

d40ddfce15-May-2023 Andreas Gohr <andi@splitbrain.org>

make everything work :-D

d2d69a9615-May-2023 Andreas Gohr <andi@splitbrain.org>

Prosemirror: don't submit the form on button presses

123