Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-684

Auto expand editing area's width when editing cell

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 3.5.0 RC
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:
      None

      Issue Links

        Activity

        Hide
        hawk hawk added a comment -

        no need <br type="_moz"> under firefox 55 to display a new line at the end

        Show
        hawk hawk added a comment - no need <br type="_moz"> under firefox 55 to display a new line at the end
        Hide
        henrichen henrichen added a comment -

        Done by Raymond.

        Show
        henrichen henrichen added a comment - Done by Raymond.
        Hide
        henrichen henrichen added a comment - - edited

        https://github.com/zkoss/zkspreadsheet/commit/71a53e95f7b8e01650fd0bead95852b79c3b8d5f

        1. Change inline editor from <textarea> to <div contenteditable=true> so richtext editing is possible
        2. Has to convert '\n' to <br/> to wrap text
        3. firefox needs to append <br type="_moz"> to display a new empty line at the end
        4. ie8 need <br><span class="caret-positioner"></span> to index caret to the new line

        Show
        henrichen henrichen added a comment - - edited https://github.com/zkoss/zkspreadsheet/commit/71a53e95f7b8e01650fd0bead95852b79c3b8d5f 1. Change inline editor from <textarea> to <div contenteditable=true> so richtext editing is possible 2. Has to convert '\n' to <br/> to wrap text 3. firefox needs to append <br type="_moz"> to display a new empty line at the end 4. ie8 need <br><span class="caret-positioner"></span> to index caret to the new line

          People

          • Assignee:
            RaymondChao RaymondChao
            Reporter:
            RaymondChao RaymondChao
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: