Inserting BB-Code without selection in editor
|Priority:||Should have||Due date:|
|Target version:||1.9.0||Estimated time:||0.10 hour|
When clicking on a bb-code button without selecting text before hand the bb code is inserted on top of the page.
This bug occurs only in internet explorer.
It occurs, because
document.selection.createRange() is not linked to the editor textbox, when there is no selection.
Insert the bb code at the end of the current editor textbox value, if the text value of the selection is empty.
Updated by Hauke Hain over 3 years ago
Strange. Once I had the same hevaiour like you described it (#3083).
And now I can reproduce it again. I think I made the mistake and didn't test the bbcodes in IE again, only the smilies...
Thank you for the patch!
Updated by Martin Helmich over 3 years ago
- Category set to Forum
- Status changed from New to Accepted
- Assignee set to Martin Helmich
- Target version set to 1.9.0
- Estimated time set to 0.10