amend to match latest api changes

This commit is contained in:
Sam 2017-07-21 16:16:07 -04:00
parent 9b4f5710e6
commit bb1ac09ad7
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
const rule = {
tag: 'details',
before: function(state, attrs) {
before: function(state, tagInfo) {
const attrs = tagInfo.attrs;
state.push('bbcode_open', 'details', 1);
state.push('bbcode_open', 'summary', 1);