• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Browser issue Dragging smilie to edit window inserts list bbcode

AndyB

Well-known member
#1
When dragging a smilie to the edit window, the smilie is placed along with a list bbcode.

1) Go to any thread
2) Click the smilie icon in the toolbar
3) Drag one of the smilies to the editor

This is the result

Code:
[LIST]
[*]:)
[/LIST]
OSX 10.8.4 with Firefox 22
 
Last edited:

Jeremy

Well-known member
#3
Are you copy and pasting perhaps?

This might be considered an edge case by Mike and Kier, but the HTML structure for that section is a list. So copying an element (including the <li>) is correctly being converted into BBCode for the editor.
 

Mike

XenForo developer
Staff member
#8
As it stands, drag and drop of text content is basically like an unfiltered paste - the browser gives us whatever HTML it thinks is appropriate.

I suppose we could drop the list tag, but strictly speaking, I don't want to go down that rabbit hole. :)
 

xf_phantom

Well-known member
#9
For me it's even worser (firefox)


Drag smilie into editor: Result = list with smilie
When i click on "more options" to get the full editor, the smilie is gone and the editor is empty again