Fix #2271 data-file-srl attribute of <video> and <audio> tags

This commit is contained in:
Kijin Sung 2024-01-16 21:30:27 +09:00
parent e2cfa524d0
commit 2d1ff01688
2 changed files with 10 additions and 0 deletions

View file

@ -353,6 +353,8 @@ class HTMLFilter
// Support editor components and widgets.
$def->addAttribute('img', 'data-file-srl', 'Number');
$def->addAttribute('video', 'data-file-srl', 'Number');
$def->addAttribute('audio', 'data-file-srl', 'Number');
$def->addAttribute('img', 'editor_component', 'Text');
$def->addAttribute('div', 'editor_component', 'Text');
$def->addAttribute('img', 'rx_encoded_properties', 'Text');