Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81937

TinyMCE working with editor inputs

$
0
0

I'm trying to get the TinyMCE plugin to work with the editor inputs. I just read that TinyMCE doesn't work with inputs and only block elements. I keep getting back the following error via my console which makes sense I suppose.

Could not initialize inline editor on invalid inline target element <input id=​"DTE_Field_item_desc" type=​"text">​

If it doesn't support input elements, what options do I have? Do I download another text editor like CK Editor?

Here is my code I am currently using

    editor.on( 'open', function ( e, type ) {
        tinymce.init({
            selector: '#DTE_Field_item_desc',
            inline: true
        });
    } );

Viewing all articles
Browse latest Browse all 81937

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>