<#-- Autumn Note, a back office rich text editor. Its Lutece integration (insert service buttons, toolbar keywords, dialog) is in themes/admin/shared/js/editors/autumnnote/lutece-autumnnote.js. --> <#-- The signature of the TinyMCE editors, so that the calls of the plugins work unchanged. Autumn Note edits in the page itself, without an iframe: cssFiles has nothing to apply to, and editorWidth and type are not used either. --> <#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}