fix: Improvements to image positioning (#3061)
* fix: Empty paragraph below images that confuses block insertion * Remove spacing for caption when unused
This commit is contained in:
@@ -55,6 +55,8 @@ export default class ComponentView {
|
||||
? document.createElement("span")
|
||||
: document.createElement("div");
|
||||
|
||||
this.dom.classList.add(`component-${node.type.name}`);
|
||||
|
||||
this.renderElement();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user