Open CartierPierre opened 1 month ago
in fact, we use tinymce functions from GLPI (Html::textarea) which not use placeholder, so i cannot use this feature on plugin :/
No possibiilty to overload this ? Or load a Tinymce out of GLPI tinymce parameters ?
Hello, The comment is used as placeholder for richtext but not for Tiny MCE https://github.com/InfotelGLPI/metademands/blob/7d94ad8e438b9a46ab44b55766514000048cfe8a/inc/textarea.class.php#L108 I saw this option in the documentation https://www.tiny.cloud/blog/tinymce-placeholder-text/ But I don't understand where is TinyMCE init https://github.com/InfotelGLPI/metademands/blob/7d94ad8e438b9a46ab44b55766514000048cfe8a/inc/textarea.class.php#L396 This is commented.
Can you take a look ?