Is web-resource confluence-paste:autoconvert-core still required?

Hello,

According to the docs for preparing for Confluence 8, it states that
com.atlassian.confluence.plugins.confluence-paste:autoconvert-core would be removed.

However, we when we removed it, we noticed some strange behaviors (e.g. editing the macro no longer possible or a blank Confluence page) when our Confluence app was installed with other Confluence apps. We are adding the web resource back in to fix these issues but we want to know when you will be removing this web-resource as it still seems to be needed.

Also, based on these docs the resource still seems to be needed.

Can you confirm that this web resource is still needed and if you are planning to remove it, when that will be?

Kind regards,
Sue

1 Like

you need to remove
<dependency>auto convertan.confluence.plugins.confluence-paste:autoconvert-core</dependency>
and add

 <dependency>com.atlassian.confluence.plugins.confluence-editor-plugin:core</dependency>
 <dependency>com.atlassian.confluence.plugins.confluence-editor-v4:editor-resources-v4</dependency>
3 Likes

This is indeed the correct answer, thank you @artucismet !
To add more details, the first dependency

 <dependency>com.atlassian.confluence.plugins.confluence-editor-plugin:core</dependency>

assures that editor is loaded first in Confluence 8.0 and newer.
While the other dependency

 <dependency>com.atlassian.confluence.plugins.confluence-editor-v4:editor-resources-v4</dependency>

does the same in Confluence 6.14 to 7.20.

They can both co-exist and make the plugin compatible with the whole range 6.14-8.x.

2 Likes

Thank you @jhronik and @artucismet. I really appreciate the clarification.

You might consider to update the documentation here as there is no mention of the web resource editor-resources-v4.

Thanks,
Sue

1 Like

Hello @jhronik, my team and I have a couple more questions about the change in dependencies before we change them in our apps.

The context we are using in the atlassian-plugin.xml is <context>editor</context> and similar to the example in this documentation.

We want to ensure that these changes are required for us given we are currently using only confluence-paste:autoconvert-core and all seems to work fine so I am wondering if replacing with the below dependencies is actually needed in our case. I have doubts because I cannot find documentation that explains the replacement and under what circumstances one would need to change them.

Can you confirm if the new dependencies below are now in place because of the editor upgrade to TinyMCE v4 way back in Confluence 6.14? Does this affect all consumers of the editor context?

If so, would you have any resources or documentation you could direct me to?

<dependency>com.atlassian.confluence.plugins.confluence-editor-plugin:core</dependency>
<dependency>com.atlassian.confluence.plugins.confluence-editor-v4:editor-resources-v4</dependency>

Thanks in advance for your guidance.

Sue