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, 

       

        1. MDL-80257_Test-A_Step-4.png
          55 kB
          Raquel Ortega
        2. MDL-80257_Test-B_Step-10.png
          46 kB
          Raquel Ortega
        3. MDL-80257_Test-B_Step-16.png
          93 kB
          Raquel Ortega
        4. MDL-80257_Test-B_Step-17.png
          91 kB
          Raquel Ortega
        5. MDL-80257_Test-B_Step-7.png
          83 kB
          Raquel Ortega
        6. MDL-80257 - 403 Find and replace.png
          54 kB
          Carlos Escobedo
        7. MDL-80257 - 403 Find and replace drag.png
          45 kB
          Carlos Escobedo
        8. MDL-80257 - 403 FullScreen.png
          53 kB
          Carlos Escobedo
        9. MDL-80257 - 403 Insert Menu.png
          131 kB
          Carlos Escobedo
        10. MDL-80257 - 403 Paste Formatting Options dialogue.png
          64 kB
          Carlos Escobedo
        11. MDL-80257 - 403 Paste Formatting Options dialogue keep.png
          139 kB
          Carlos Escobedo
        12. MDL-80257 - 403 Paste Formatting Options dialogue remove.png
          102 kB
          Carlos Escobedo
        13. MDL-80257 - 403 Source Code.png
          56 kB
          Carlos Escobedo
        14. MDL-80257 - 403 Tiny Premium.png
          45 kB
          Carlos Escobedo
        15. MDL-80257 - Main Find and replace.png
          44 kB
          Carlos Escobedo
        16. MDL-80257 - Main Find and replace drag.png
          48 kB
          Carlos Escobedo
        17. MDL-80257 - Main FullScreen.png
          41 kB
          Carlos Escobedo
        18. MDL-80257 - Main Insert Menu.png
          93 kB
          Carlos Escobedo
        19. MDL-80257 - Main Paste Formatting Options dialogue.png
          61 kB
          Carlos Escobedo
        20. MDL-80257 - Main Paste Formatting Options dialogue keep.png
          99 kB
          Carlos Escobedo
        21. MDL-80257 - Main Paste Formatting Options dialogue remove.png
          72 kB
          Carlos Escobedo
        22. MDL-80257 - Main Source Code.png
          53 kB
          Carlos Escobedo
        23. MDL-80257 - Main Tiny Premium.png
          43 kB
          Carlos Escobedo
        24. Screenshot from 2023-11-27 12-20-17.png
          104 kB
          Raquel Ortega

            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.