добавить ниже button.fontSize
this.context.memo("button.letter", function() {
return n.ui.buttonGroup([n.button({
className: "dropdown-toggle",
contents: n.ui.dropdownButtonContents('<span class="note-current-letter"/>', n.options),
tooltip: "font letter",
data: {
toggle: "dropdown"
}
}), n.ui.dropdownCheck({
className: "dropdown-letter",
checkClassName: n.options.icons.menuCheck,
items: n.options.letters,
title: "font letter",
click: n.context.createInvokeHandlerAndUpdateState("editor.letter")
})]).render()
this.fontSize = this.wrapCommand (function (t) Добавить нижний код внизу
this.letter = this.wrapCommand(function(t) {
u.fontStyling("letter-spacing", t + "px")
});
для toolvar и popover соответственно
['letter', ['letter']] и букв: ["8", "9", "10 "," 11 "," 12 "," 13 "," 14 "," 15 "," 16 "," 17 "," 18 "," 19 "," 20 "," 21 "," 22 ", "23", "24", "32", "48", "72", "112", "127", "254", "500"] добавлено. Решено.