mirror of
https://github.com/zadam/trilium.git
synced 2025-10-06 05:25:37 +08:00
client/formatting toolbar: add CSS classes to the "Admonition" dropdown items
This commit is contained in:
parent
485015103a
commit
addafa85c3
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ export default class AdmonitionUI extends Plugin {
|
||||||
model: new ViewModel({
|
model: new ViewModel({
|
||||||
commandParam: type,
|
commandParam: type,
|
||||||
label: admonition.title,
|
label: admonition.title,
|
||||||
|
class: `ck-tn-admonition-option ck-tn-admonition-${type}`,
|
||||||
role: 'menuitemradio',
|
role: 'menuitemradio',
|
||||||
withText: true
|
withText: true
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue