reference:
Laya's photo-text tutorials
Edit mode F9, increase laya.html.js library
Right in the hierarchy window, add a component HtmlDivElement
General principle:
1. input box such as string is "Hello, everyone! Nice to meet you! @ @ 1", "@ @ 1" as the expression of a code. FIG str as the direct use of the text input box.
2. Operation string str, global search "@ 1 @" symbol into the face emoticon <img> tag.
3. str string assigned to innerHTML HTMLDivElement display assembly.
The actual display
Look HTMLDivElement source, bin / libs / laya.html.js
Should be drawn on the canvas, then it should be resolved draw after <img> <span> tag, etc., not really use <img> <span> tag it.