Project

General

Profile

Actions

Patch #43710

open

Moves wiki image mime types to meta tag

Added by Marius BĂLTEANU 22 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring

Description

Currently, the inline attachment markup added on #26071 depends on the JS variable wikiImageMimeTypes added by heads_for_wiki_formatter method to each toolbar. Working at a new toolbar implementation which is rendered mostly on the backend and uses StimulusJS, I've realised that we can replace this dependency by moving the supported image mime types which are instance based to a meta tag.

Attached is a patch.


Files


Related issues

Related to Redmine - Patch #37559: Use meta element instead of javascript objectNewMarius BĂLTEANUActions
Actions #1

Updated by Marius BĂLTEANU 22 days ago

  • Related to Patch #37559: Use meta element instead of javascript object added
Actions

Also available in: Atom PDF