diff --git a/js/plugins/drupalentity/plugin.js b/js/plugins/drupalentity/plugin.js
index b8a5090..84261e4 100644
--- a/js/plugins/drupalentity/plugin.js
+++ b/js/plugins/drupalentity/plugin.js
@@ -24,6 +24,8 @@
           dtd[tagName]['drupal-entity'] = 1;
         }
       }
+      // Display the drupal-entity element inline.
+      dtd.$inline['drupal-entity'] = 1;
 
       // Generic command for adding/editing entities of all types.
       editor.addCommand('editdrupalentity', {
