i got it. I just had to use this code headingButton.addEventListener("click", function (){ editor.execCommand('formatBlock',false,'h2'); } ...
確定! 回上一頁