mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
client/formatting toolbar: add CSS classes to the "Admonition" dropdown items
This commit is contained in:
parent
485015103a
commit
addafa85c3
@ -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…
x
Reference in New Issue
Block a user