Title: Refinement for cross-plugin compatibility
Last modified: August 30, 2016

---

# Refinement for cross-plugin compatibility

 *  [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * (@assortedchips)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refinement-for-cross-plugin-compatibility/)
 * Hi,
 * I am updating my DrawIt plugin to support front-end editing plugins like Beaver
   Builder, but I have notice one shortcoming with how Beaver Builder stores the
   source code. After an image is added via Beaver Builder, switching back to the
   normal backend editor does not preserve the typical “wp-image-#” class name for
   the images that were added. This is important for image-editing based plugins
   that rely on using that image id # in the class name for source identification/
   editing purposes. It seems that the desired behavior should be at a minimum to
   preserver that class name. I know that the class name is getting preserved on
   the Beaver Builder side of things, because if I open it back up via your plugin’s
   front-end editor, then the class name is there. It seems to just be something
   to do with when publishing the content that is gets removed by your plugin for
   the backend.
 * For example, when adding an image in Beaver Builder, then changing back to the
   backend editor, this is the img code:
 * `<img title="drawing via beaver-builder" src="http://mdt.space/wp43_test_drawit_plugin/
   wp-content/uploads/2016/01/drawing-via-beaver-builder.png" alt="drawing-via-beaver-
   builder" width="143" height="123" />`
 * When I open it up in your front-end editor, then I get what I would have expected
   in the backend editor:
 * `<img class="aligncenter wp-image-53" title="drawing via beaver-builder" src="
   http://mdt.space/wp43_test_drawit_plugin/wp-content/uploads/2016/01/drawing-via-
   beaver-builder.png" alt="drawing-via-beaver-builder" width="143" height="123"/
   >`
 * [https://wordpress.org/plugins/beaver-builder-lite-version/](https://wordpress.org/plugins/beaver-builder-lite-version/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Justin Busa](https://wordpress.org/support/users/justinbusa/)
 * (@justinbusa)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refinement-for-cross-plugin-compatibility/#post-6898868)
 * Thanks for the feedback! That seems like something we can get fixed. Can you 
   tell me, is this happening with the photo module or images added via the text
   editor in Beaver Builder?
 *  Thread Starter [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * (@assortedchips)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refinement-for-cross-plugin-compatibility/#post-6898871)
 * I had only tried with the text editor before, but I just tried the photo module
   and it happens there also. However, the difference with the photo module is that
   it provides a place for the user to specify what the class should be in the “
   Advanced” tab (but by default that field is blank). Perhaps that class field 
   in that “Advanced” tab should be pre-populated with the wp-image-## class that
   typically would be associated with the image. Thanks!
 *  Plugin Author [Justin Busa](https://wordpress.org/support/users/justinbusa/)
 * (@justinbusa)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refinement-for-cross-plugin-compatibility/#post-6898873)
 * Thanks for the follow up! I’ll go ahead and open a ticket regarding this so we
   can get it looked at. I’ll post back here when we have something for you.
 * Justin

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Refinement for cross-plugin compatibility’ is closed to new replies.

 * ![](https://ps.w.org/beaver-builder-lite-version/assets/icon-256x256.png?rev=
   2361183)
 * [Beaver Builder Page Builder - Drag and Drop Website Builder](https://wordpress.org/plugins/beaver-builder-lite-version/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/beaver-builder-lite-version/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/beaver-builder-lite-version/)
 * [Active Topics](https://wordpress.org/support/plugin/beaver-builder-lite-version/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/beaver-builder-lite-version/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/beaver-builder-lite-version/reviews/)

## Tags

 * [class](https://wordpress.org/support/topic-tag/class/)
 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [id](https://wordpress.org/support/topic-tag/id/)
 * [missing](https://wordpress.org/support/topic-tag/missing/)

 * 3 replies
 * 2 participants
 * Last reply from: [Justin Busa](https://wordpress.org/support/users/justinbusa/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/refinement-for-cross-plugin-compatibility/#post-6898873)
 * Status: not resolved