As said I think it’s quite hard to find a reliable solution because you have to take care of so many things.
I go either for the way proposed by Danny van Kooten:
http://dannyvankooten.com/450/tinymce-wysiwyg-editor-in-wordpress-plugin/
add and open the editor in a thickbox or another way I’ve used once, using the widget “accessibility mode” for “advanced” stuff as seen in this screenr: http://www.screenr.com/sY5s
this example is buggy but the overall concept works fine, even if it’s quite funny that you have to use js to get and add the link to the corresponding (non-js fallback) widget-edit page 🙂
But on the other hand, on this seperate page you can actually do whatever you want.
Related Posts:
- What is the correct way to build a widget using OOP
- Custom Widget function in Plugin not working?
- Get page content using slug
- Adding Widget form fields dynamically
- Widget development – Drop down options won’t save
- Calling the widget id of a mult-instance widget from inside the widget?
- Is There A Hook To Process The Content Of The Text Widget?
- How can I make my custom shortcode work in a Custom HTML Widget?
- Add content to widget title in admin area within the widget?
- How to pass JavaScript variable to PHP in wordpress widget?
- Help adding image upload functionality to widget
- Using preg_replace to clean widget output HTML
- Edit the output of wp_widget_rss_output()
- Script to remove all inactive widgets?
- WordPress widget / plugin….fields not appearing in my widget
- Two-step login process – Is it possible?
- Multiple entries in get_option results? or why is _multiwidget set to 1?
- How to add multiple copies of a widget from “available widgets”
- Using Ajax call in jQuery doesn’t work in widget
- WordPress select dropdown list in widget
- Using $wpdb object in a widget
- Admin-ajax.php appending a status code to ajax response
- Is there a need to do apply_filter(‘widget_title’, $instance[‘title’]) or any other ‘widget_xxx’ filters?
- How to pass custom options from widget form to widget update callback?
- Broken markup when using the_excerpt() in a widget?
- Tips for targeting widget dragable for WP Pointer on widgets.php page
- WYSIWYG editor in WP 3.2 plugin
- Show dialog box in TinyMCE plugin and use WordPress php functions in it
- PHP 7 – Class Method Compatibility Issue
- How to save WP widget instances and options
- Sidebar widget to show popular post not working?
- Widget update function not saving values
- How do I alter the comment form ‘allowed tags’ text in a plugin?
- Add a panel to edit post
- Add custom element ID depending where the widget place is, sidebar or footer
- Customizer: widget-synced triggers twice
- Applying OO patterns and principles to plugin development
- the_editor() function
- Create onClick Event to Re-load a Widget
- Widget is to be compatible with all themes
- Failed to Open Stream: Permission Denied While Writing to an XML File in a WordPress Plugin
- WP Editor Issue in Backend
- How to make my custom widget appear within WordPress widgets? Plugin development
- Adding widgets to my plugin page instead of WordPress dashboard
- How to limit number of number of categories displayed by categories widget
- Input in plugin widget does not allow spaces
- Get draggable widgets on Edit Post page
- Dynamically creating classes for Widget API
- Widget options are not updated
- Widget HTML Display Problem
- wordpress JSONAPI introspector always limits number at 10?
- Using a multiple element in widget form
- How to add a widget to the post editing view?
- Problem with saving checkbox values with WordPress Widget API
- WordPress Specified file failed upload test
- Hook called before text widget save
- Are there any official or unofficial guidelines for the styling of a widget?
- Make Database query only when option is updated
- Working of foreach loop with array
- How can I display Custom Post type Custom Columns and its Content in a Dashboard Widget?
- WordPress dynamic widget by location?
- Can / should a widget plugin define its own Widget Area?
- How to exclude categories from get_categories() select list inside a widget admin panel
- Setting a post’s category
- Why doesn’t update_post_meta work for certain strings?
- Widget internal hooks and functions
- post content and shortcode content displaying out of order
- How to show multiple instances of the WP125 Widget?
- “Rendering of admin template [path to template] failed”
- How to determine which capability to use?
- Console errors in 6.0-RC1 Widget screen
- Error code when migrate
- How does update method in Widget class saves $instance array from Select tag?
- dashboard widget form not submit mails
- Quick Draft widget (dashboard.php) using custom post_type
- Uncaught Error: Call to undefined function wp_get_current_user() in
- Load script on frontend from widget plugin
- Add widget area from visual editor
- Can’t get wpColorPicker to work in a widget
- Priority call methods – PHPMailer->addAddress(NULL)
- wp_editor embed shortcode not working within my plugin
- If user is logged-in display/hide widgets ( siteorigine) [closed]
- Set widget icon in Customizer?
- foreach argument to get specific file types getting too many returns
- How to embed or integrated a custom WordPress Widget into the theme?
- Publish, Save Draft and Preview buttons do not work after being moved with jQuery
- Widget won’t be activated
- Dynamic sidebar areas not working on the Theme Customizer
- PHP: Why does my code work in index.php but not a widget?
- widget: input the px value from user and use it as inline style in widget function
- Detect each active instance of a widget
- wp_register_sidebar_widget in loop within a plugin?
- How do I create Widget within plugin that uses its own class?
- Best practice to include custom user styles in widgets
- How to specify widget order or css name via script?
- What can I do to customize a widget provided with this plugin? from where have I to start?
- How can I add a custom button to the post editor?
- Is it possible to add Custom Dashboard Widgets to Custom Admin Menu Page?
- how to check elementor is widget is active or loaded
- Can we write custom DOM manipulation inside edit.js file while developing custom Gutenberg block?