Skip to content

Commit 6197b9f

Browse files
committed
Adding per-sample height option read from source body attribute
1 parent 31a38c4 commit 6197b9f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build/createFiddleFiles.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ module.exports = function(options) {
160160
});
161161
}
162162

163+
// Settings (widget options, undefined won't get encoded)
164+
embed.height = $("body").attr("data-height");
165+
163166
stream.push(htmlFile);
164167
stream.push(jsFile);
165168
stream.push(new File({

0 commit comments

Comments
 (0)