TinyMCE Paste from word not working properly
up vote
1
down vote
favorite
I have a problem with Paste From Word functionality. I have an editor and when I click the paste from word button it opens a popup with a textarea . I want to paste my text which contains simple text, an image () and a hyperlink. When I'm pasting the text everything seems to be fine but when I click the submit button in order for the editor to get the content it loses the images.
From popup I do a
tinymcepopup.editor.execcommand('mceinsertclipboardcontent', false, content : h, wordcontent : true);
I've tried the paste_data_images: true
and put the img to extended_valid_elements
but nothing worked.
Any ideas?
Thanks in advance.
javascript tinymce tinymce-4 tinymce-3
add a comment |
up vote
1
down vote
favorite
I have a problem with Paste From Word functionality. I have an editor and when I click the paste from word button it opens a popup with a textarea . I want to paste my text which contains simple text, an image () and a hyperlink. When I'm pasting the text everything seems to be fine but when I click the submit button in order for the editor to get the content it loses the images.
From popup I do a
tinymcepopup.editor.execcommand('mceinsertclipboardcontent', false, content : h, wordcontent : true);
I've tried the paste_data_images: true
and put the img to extended_valid_elements
but nothing worked.
Any ideas?
Thanks in advance.
javascript tinymce tinymce-4 tinymce-3
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a problem with Paste From Word functionality. I have an editor and when I click the paste from word button it opens a popup with a textarea . I want to paste my text which contains simple text, an image () and a hyperlink. When I'm pasting the text everything seems to be fine but when I click the submit button in order for the editor to get the content it loses the images.
From popup I do a
tinymcepopup.editor.execcommand('mceinsertclipboardcontent', false, content : h, wordcontent : true);
I've tried the paste_data_images: true
and put the img to extended_valid_elements
but nothing worked.
Any ideas?
Thanks in advance.
javascript tinymce tinymce-4 tinymce-3
I have a problem with Paste From Word functionality. I have an editor and when I click the paste from word button it opens a popup with a textarea . I want to paste my text which contains simple text, an image () and a hyperlink. When I'm pasting the text everything seems to be fine but when I click the submit button in order for the editor to get the content it loses the images.
From popup I do a
tinymcepopup.editor.execcommand('mceinsertclipboardcontent', false, content : h, wordcontent : true);
I've tried the paste_data_images: true
and put the img to extended_valid_elements
but nothing worked.
Any ideas?
Thanks in advance.
javascript tinymce tinymce-4 tinymce-3
javascript tinymce tinymce-4 tinymce-3
asked Nov 9 at 19:19
Panos Gr
448
448
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53232048%2ftinymce-paste-from-word-not-working-properly%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown