mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
amend to match latest api changes
This commit is contained in:
parent
9b4f5710e6
commit
bb1ac09ad7
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue