Skip to content

Commit efe9e90

Browse files
committed
fix: fix issue when calling getContent with a new component instance
1 parent 18cdfc6 commit efe9e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/flowingcode/vaadin/addons/markdown/MarkdownEditor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class MarkdownEditor extends BaseMarkdownComponent {
3737
* Constructor with empty content.
3838
*/
3939
public MarkdownEditor() {
40-
super(null);
40+
super("");
4141
}
4242

4343
/**

0 commit comments

Comments
 (0)