I have a FlxSpriteGroup which I call 'Node', which contains FlxText and a class I created that extends FlxSprite called MyRect which is just a rectangle with a background color. As seen in the pictures below, I take input from the user (in the cyan field) and when the user presses enter, I add a 'Node' which contains FlxText and a MyRect with an orange background to the screen.
When targeting the Neko platform and inputting a very long string, word wrapping works as expected. However, when I target HTML5, the word wrapping does not appear to be working and the text clips off of the contained area. Does anyone know of a solution to prevent the HTML5 text from clipping off and producing a behavior like Neko?