mirror of
https://github.com/discourse/discourse.git
synced 2025-06-10 18:49:05 +08:00
amend to match latest api changes
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
const rule = {
|
const rule = {
|
||||||
tag: 'details',
|
tag: 'details',
|
||||||
before: function(state, attrs) {
|
before: function(state, tagInfo) {
|
||||||
|
const attrs = tagInfo.attrs;
|
||||||
state.push('bbcode_open', 'details', 1);
|
state.push('bbcode_open', 'details', 1);
|
||||||
state.push('bbcode_open', 'summary', 1);
|
state.push('bbcode_open', 'summary', 1);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user