<#-- Milkdown (Crepe), a back office rich text editor that edits Markdown: the field keeps HTML, reduced to what Markdown expresses. Its Lutece integration (insert service buttons in the top bar, upload, profiles) is in themes/admin/shared/js/editors/milkdown/lutece-milkdown.js, the bundle and how it is built in themes/admin/shared/js/editors/milkdown/build/. --> <#-- The signature of the TinyMCE editors, so that the calls of the plugins work unchanged: cssFiles, editorWidth and type are not used. --> <#macro initEditor editorWidth=0 cssFiles='' type='' insert='"library","pagelinkservice"' selector='.richtext' config={}> <#local editorLang = ( locale?? && 2 <= locale?string?length && locale?string?substring( 0, 2 ) == 'fr' )?then( 'fr', 'en' ) /> <#-- A datastore value, empty when the key does not exist (the library plugin is not installed) --> <#macro editorDatastoreValue key><#local value = dskey( key )!'' /><#if !value?starts_with( 'DS Value' )>${value?js_string}