Could you please paste here the handler (just the key part) of highlight and text-styling button? Those handlers will show how new format is applied or appended.
Hi Jin Huang,
I am not sure that I understand on the handler for the highlight. I am using whatever the default is by the textLayout framework.
For the text-styling, here's an example:
var pa:TextLayoutFormat = new TextLayoutFormat();
pa["fontWeight"] = "bold";
(_textFlow.interactionManager as EditManager).applyParagraphFormat(pa);
Appreciate your help Jin Huang.
Actually, I accidentaly stumbled the solution.
I just need to mess around with TextFlow.defaultConfiguration.