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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

253 views 11 10
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