let complexText = new Konva.Text({ x: 0, y: 0, text: " hello World ", fontSize: 12, fill: "#003049", width: stage.width() - 10, padding: 5, align: "center",Received output });
Expected Output: hello World
let complexText = new Konva.Text({ x: 0, y: 0, text: " hello World ", fontSize: 12, fill: "#003049", width: stage.width() - 10, padding: 5, align: "center",Received output });
Expected Output: hello World
Emoji's are not available in all fonts. Look on the web for lists of emoji fonts such as: https://typography.guru/list/topic/emoji-fonts/.
But be aware that the emoji font maybe will not also provide letter characters - it might just be smileys only. You will have to create text nodes for each of the emojis and the text segments.