History log of /plugin/diagrams/syntax/embed.php (Results 1 – 15 of 15)
Revision Date Author Comments
# fe2e68ae 30-Aug-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Simplify extraction of title in embedded syntax


# 20761fcf 30-Aug-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Embedded: prevent title interfering with alignment


# 44b3af04 29-Aug-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Use title as alternative text for a diagram


# 750b9665 27-Jul-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Fix embedded diagrams in old page revisions


# 98c89536 19-Jun-2023 Andreas Gohr <andi@splitbrain.org>

Only use data-uri in preview. Partially fixes #40

Because data-uris are cross origin, our link fixing JS does not apply.
This uses data uris only in preview, fixing links for normal display.

We cou

Only use data-uri in preview. Partially fixes #40

Because data-uris are cross origin, our link fixing JS does not apply.
This uses data uris only in preview, fixing links for normal display.

We could think about fixing targets when saving already...

show more ...


# 2aa4335d 24-May-2023 Andreas Gohr <andi@splitbrain.org>

use data url instead of export to display embedded diagrams

This fixes displaying diagrams during preview


# 046ca144 20-Apr-2023 Andreas Gohr <andi@splitbrain.org>

Remove the SVG Sanitizer again in favor of CSP headers

This introduces a renderer that allows us to call each embedded SVG as a
separate URL with added CSP headers. This way we rely on the same safe

Remove the SVG Sanitizer again in favor of CSP headers

This introduces a renderer that allows us to call each embedded SVG as a
separate URL with added CSP headers. This way we rely on the same safety
feature as with media file based diagrams.

show more ...


# baa90558 20-Apr-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Fix too greedy regex

Otherwise multiple diagrams on the same page match


# 59e7180e 17-Apr-2023 Andreas Gohr <andi@splitbrain.org>

refactored action components

more strict separation of modes


# 317bdfc2 17-Apr-2023 Andreas Gohr <andi@splitbrain.org>

Editing embedded diagrams now works


# 95ed8ca0 13-Apr-2023 Andreas Gohr <andi@splitbrain.org>

more checks on the embedded SVG

we only want to work with diagrams.net created SVGs


# 100ff2a5 13-Apr-2023 Andreas Gohr <andi@splitbrain.org>

sanitize inlined SVGs


# bc39777f 13-Apr-2023 Andreas Gohr <andi@splitbrain.org>

add configuration option to enable/disable embed mode


# 8c8c7007 13-Apr-2023 Andreas Gohr <andi@splitbrain.org>

Add ajax backends for loading/saving embedded SVGs

This also renames the syntax classes to be easier to distinguish


# 8a822cc1 12-Apr-2023 Andreas Gohr <andi@splitbrain.org>

added inline display mechanism