Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-80257

TinyMCE Copy paste is broken if enabling TinyMCE Premium

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-80257-403
    • MDL-80257-main
    • Hide

      Initial setup

      1. Login as an Admin
      2. Navigate to Site admin -> Plugins -> Text editor -> TinyMCE editor -> Tiny Premium and enter in a valid API key (You can get a free trial at https://www.tiny.cloud/).
      3. Make sure that the Tiny Premium plugin is enabled.

      A. Copy Paste

      1. Make sure TinyMCE Premium is activated.
      2. Open an editor and make sure the the editor covers the center for the browser. (You may need to scroll or resize the editor form)
      3. Copy a chunk of text from a Word document.
      4. Verify that the `Paste Formatting Options` dialogue appears and the both buttons `Remove formatting` and `Keep formatting` are clickable without any problems.

      B. New feature ui_mode: split

      1. Create a course
      2. Add a `page` resource
      3. Fill in `Hello, world` text to the Description and Content editor
      4. Save and Return to Course
      5. Edit the `page` resource.
      6. At the Description editor, click Insert menu
      7. Verify that the menu displays properly and is not covered by the navbar.
      8. Make the browser window width to 1280px
      9. Click View > Source Code
      10. Verify that the source code dialogue displays correctly and is not covered by the left and right navigation drawer.
      11. Close the Source Code dialogue
      12. Click View > Full Screen
      13. Verify that the editor displays correctly and is not covered by the left and right navigation drawer.
      14. Close the Full Screen dialogue.
      15. Click Edit > Find & Replace
      16. Verify that the Find & Replace dialogue displays correctly.
      17. Verify that the Find & Replace dialogue can be dragged without any problems.

       

      Please test the above testings with Chrome, Firefox and Safari browsers.

      Show
      Initial setup Login as an Admin Navigate to Site admin -> Plugins -> Text editor -> TinyMCE editor -> Tiny Premium and enter in a valid API key (You can get a free trial at https://www.tiny.cloud/ ). Make sure that the Tiny Premium  plugin is enabled. A. Copy Paste Make sure TinyMCE Premium is activated. Open an editor and make sure the the editor covers the center for the browser. (You may need to scroll or resize the editor form) Copy a chunk of text from a Word document. Verify that the `Paste Formatting Options` dialogue appears and the both buttons `Remove formatting` and `Keep formatting` are clickable without any problems. B. New feature ui_mode: split Create a course Add a `page` resource Fill in `Hello, world` text to the Description and Content editor Save and Return to Course Edit the `page` resource. At the Description editor, click Insert menu Verify that the menu displays properly and is not covered by the navbar. Make the browser window width to 1280px Click View > Source Code Verify that the source code dialogue displays correctly and is not covered by the left and right navigation drawer. Close the Source Code dialogue Click View > Full Screen Verify that the editor displays correctly and is not covered by the left and right navigation drawer. Close the Full Screen dialogue. Click Edit > Find & Replace Verify that the Find & Replace dialogue displays correctly. Verify that the Find & Replace dialogue can be dragged without any problems.   Please test the above testings with Chrome, Firefox and Safari browsers.
    • 2
    • Team Hedgehog 2023 Sprint 4.2

      If TinyMCE premium ís enabled, TinyMCE uses the PowerPaste functionality and displayes an modal pop up asking you whether you want to remove formatting. 

      However the Z-index is wrong making it impossible to press the buttons. See screenshot. 

       

      Steps to reproduce: 

      1. Make sure TineMCE Premium is activated.
      2. Open an editor and make sure the the editor covers the center for the browser. (You may need to scroll or resize the editor form) 
      3. Copy a chunk of text from a Word document.

      Result: The modal dialogue is covered by an inactive layer. 

      Expected result: I should be able to press the buttons, 

       

            meirza.arson@moodle.com Meirza
            tuekorsgaard Tue Korsgaard
            Raquel Ortega Raquel Ortega
            Andrew Lyons Andrew Lyons
            Carlos Escobedo Carlos Escobedo
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 minute
                1d 1m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.