Project

General

Profile

Actions

Patch #43710

open

Moves wiki image mime types to meta tag

Added by Marius BĂLTEANU about 24 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Start date:
Due date:
% Done:

0%

Estimated time:

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ĂLTEANU

Actions
Actions #1

Updated by Marius BĂLTEANU about 24 hours ago

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

Also available in: Atom PDF