ERROR: called with no current PropertyPanel +The given range isn't in document. Edited

Im developing a customized macro and found these errors during testing.

 Steps to reproduce the problem:

  1. Insert macro
  2. save it
  3. edit it and chose "cancel"
  4. delete it from page
  5. trying add a new same macro w/ different params on the same position
  6. no macro be inserted

Monitor in console, see errors:

  • The node to be replaced has been already deleted from the document ;
  • PropertyPanel.destroy: called with no current PropertyPanel, returning;
  • The given range isn't in document

Using TinyMCE and Confluence version is 6.3.1

Any help would be greatly appreciated.

 

Screen Shot 2018-01-26 at 12.28.39 AM.png

 

1 answer

I found it is bug from TinyMCE version 3, which is used in Confluence 6.3.1 and it has been fixed in new version. (https://www.tinymce.com/docs/changelog/#version456-march302017 )

But it has been fixed in version 4 and this version will be used in Confluence 6.6 (https://developer.atlassian.com/server/confluence/preparing-for-confluence-6-6/).

Ann Worley Atlassian Team Feb 01, 2018

If you are all set I will mark your question as answered. Please let me know if we can help with anything else.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

292 views 1 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you