1. 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

Discussion in 'Resolved Bug Reports' started by AndyB, Jul 20, 2013.

  1. AndyB

    AndyB Well-Known Member

    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: Jul 20, 2013
  2. MattW

    MattW Well-Known Member

    :cool:

    EDIT: Works fine for me in Chrome on Windows 7
     
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    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.
     
  4. AndyB

    AndyB Well-Known Member

    Looks like it's a Firefox bug. Using Chrome works fine.
     
  5. AndyB

    AndyB Well-Known Member

    Nope I'm dragging the smile to the edit window.
     
  6. MattW

    MattW Well-Known Member

    Yep, just tried in Firefox
    Capture.PNG
     
  7. whynot

    whynot Well-Known Member

    In IE10 the result is an attachment of the smilie.
     
  8. Mike

    Mike XenForo Developer Staff Member

    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. :)
     
  9. xf_phantom

    xf_phantom Well-Known Member

    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
     

Share This Page