Closed dtturcotte closed 10 months ago
Here is a demo of typing on bbcodetext with img tag. Works fine.
Put the text as "[img=key] Find the [img=key] open the door [img=key]"
The key images will not appear in the first or last positions. They are not hidden by the icon (I commented out the icon) — https://codepen.io/dtturcotte/pen/rNoaMBy. Why won't images appear if they are first or last in the text?
It seems a bug of textyyping behavior, will fix it later.
Thank you! Please let me know when it's resolved.
Bug fixed, please grab latest minify files. NPM package will be upgraded at end of this month.
NPM package upgraded.
I'm following this guide for adding inline bbcode images in conjunction with rexUiTextbox.
I preload the image using "this.load.image('bolt', 'https://raw.githubusercontent.com/rexrainbow/phaser3-rex-notes/master/assets/images/bolt.png')"
I noticed that the image does not appear if I use typewriter effect, but does appear if I just create a bbcode text element and display the text directly. Is this a limitation of [img] and rexUiTextbox?
If textbox doesn't support images currently, is there a way you can add support?