Skip to content

Commit

Permalink
编辑器视频连接提示
Browse files Browse the repository at this point in the history
  • Loading branch information
caprikk committed Jan 26, 2016
1 parent aba3038 commit ecfba47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static/js/editor/ckeditor/plugins/bbcode/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,10 @@
title: description,
alt: description
};
},
// Modify by wecenter
video: function ( element ) {
element.attributes.title = element.children[0].value;
}
}
} );
Expand Down

0 comments on commit ecfba47

Please sign in to comment.