Squire supports a lot of HTML, but it doesn't support <details> elements. Any <details> and <summary> tags are removed when an HTML file is loaded into the editor.
It seems easy enough to allow them: Just add DETAILS and SUMMARY to the allowedBlock regular expression in Clean.ts
(How to easily create and edit a <details> element is another question. It probably needs a dedicated function in the API, similar to makeOrderedList().)
Squire supports a lot of HTML, but it doesn't support <details> elements. Any <details> and <summary> tags are removed when an HTML file is loaded into the editor.
It seems easy enough to allow them: Just add DETAILS and SUMMARY to the allowedBlock regular expression in Clean.ts
Squire/source/Clean.ts
Line 208 in 5554bfd
(How to easily create and edit a <details> element is another question. It probably needs a dedicated function in the API, similar to makeOrderedList().)