Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add placeholder to tinyMCE #156

Open
CartierPierre opened this issue Sep 27, 2024 · 3 comments
Open

Add placeholder to tinyMCE #156

CartierPierre opened this issue Sep 27, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@CartierPierre
Copy link

Hello,
The comment is used as placeholder for richtext but not for Tiny MCE

placeholder=\"" . $comment . "\"

I saw this option in the documentation
https://www.tiny.cloud/blog/tinymce-placeholder-text/
But I don't understand where is TinyMCE init
// tinymce.init({

This is commented.

Can you take a look ?

@tsmr
Copy link
Contributor

tsmr commented Sep 27, 2024

in fact, we use tinymce functions from GLPI (Html::textarea) which not use placeholder, so i cannot use this feature on plugin :/

@CartierPierre
Copy link
Author

No possibiilty to overload this ? Or load a Tinymce out of GLPI tinymce parameters ?

@tsmr
Copy link
Contributor

tsmr commented Dec 21, 2024

perhaps in glpi 11

@tsmr tsmr added the enhancement New feature or request label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants