New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pasting HTML into inline editor clones the element #3497
Comments
Hi! Can you reproduce the issue in a fiddle to make it easier for us to understand the problem? |
Hi fyrkant, I reproduced the issue in fiddle.tinymce.com by just inserting the code from my first message and copy pasting in the inline editor a h1 from any web page, say a Wikipedia article for instance. http://fiddle.tinymce.com/VJfaab on IE11 Repeating the code here, just for reference :
|
Anyone? Extra stuff needed besides the fiddle? Thanks |
Anyone have any idea why this is still in "needs more info"? Please let me know if extra details are needed , thanks. |
If the external_only option is specified, don't show the source type or link type in the image & link plugins
…e type is external tinymce#3497 Since removing the source type for the "external only" option, added a check to populate the external source/href when it's empty, since the source type defaults to internal without the "external only" option
Hi, |
I have the following inline editable element :
<h2 class="editable-simple mce-content-body" id="title" style="position: relative;" contenteditable="true" spellcheck="false" data-postback="Title">title</h2>
initialized with
In Internet Explorer, when I copy a heading from somewhere else (either a h1, h2, etc. from a web page or a heading from Word) and paste it in that editor, the
<h2>
element is duplicated. In other words, a second<h2>
is added to the DOM and appears besides the normal one. It is editable but blank (doesn't contain pasted text) and has the same ID and attributes as the real one.Sometimes, for instance when I repeatedly paste the heading in the editor, the same thing occurs but the inserted h2 is non-editable and contains pasted text.
paste_as_text: true
is an attempt to go around that problem by preventing formatted text to be pasted, but doesn't solve anything.Thanks for your help.
TinyMCE 4.5.1
Internet Explorer 11.0
The text was updated successfully, but these errors were encountered: