Forums
Home / Developing with WordPress / Visual editor in custom widget
(@richardtinkler)
6 years, 6 months ago
How do I include the new WP visual editor widget functionality to my existing custom widgets?
I noticed the class-wp-widget-text.php file has some conditions which turns on legacy mode, so is there anything special I need to consider?
Thanks 🙂
(@dineshkashera)
Hello, You can create by using wp_editor() function. To get more help see the below link: https://developer.wordpress.org/reference/functions/wp_editor/
Thanks