Skip to content

Commit deff754

Browse files
committed
JI-942 Fix setting title
1 parent f459211 commit deff754

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/h5peditor-init.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@
5757
// Get content from editor
5858
h5peditor.getContent(function (content) {
5959

60+
// Set the title field to the metadata title if the field exists
61+
$title.val(content.title);
62+
6063
// Set main library
6164
$library.val(content.library);
6265

0 commit comments

Comments
 (0)