Skip to content

Commit ec64291

Browse files
committed
Add ability to set description on paragraph
Fix usage of this over super
1 parent f78ae10 commit ec64291

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/pages/paragraph-setting.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ module.exports = class ParagraphSetting extends SectionSetting {
99
}
1010

1111
text(value) {
12-
this.name(value)
12+
super.name(value)
13+
return this
14+
}
15+
16+
description(value) {
17+
super.description(value)
18+
return this
1319
}
1420

1521
image(value) {

0 commit comments

Comments
 (0)