Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By numfar85 on
I've been looking for a way to add tags to selected text in a textarea by clicking a button. Exactly like the php button works here when you write the forum post. Does anyone know how this is done or where I should look to find out?
Comments
Try WYSIWYG module.
Try WYSIWYG module.
What's new and changing in PHP 8
Can you create your own tags
Can you create your own tags in WYSIWYG?
Not easily. Wysiwyg is
Not easily.
Wysiwyg is actually a "broker" module that let's you deal with editors like tinymce and ckeditor.
You can however add custom tags by using a custom module. Most HTML tags are already there though.
What's new and changing in PHP 8