Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 746 Bytes

2022-01-04-wysiwyg-copying-and-text-editor-toolbar-position.md

File metadata and controls

13 lines (13 loc) · 746 Bytes
title issue author author_github author_email
WYSIWYG copying and fix text-editor toolbar position
NEXT-18745
Niklas Limberg
NiklasLimberg

Administration

  • Changed sw-text-editor-toolbar/index.js to update the toolbar position on text alignment changes, scrolling and resizing
  • Changed sw-text-editor/index.js to allow copy and paste of html in editor mode
  • Added a copy event listener to the .sw-text-editor__content-editor element in sw-text-editor.html.twig
  • Changed style of .sw-cms-toolbar in sw-cms-toolbar.scss, to let the text-editor-toolbar slide under the cms-toolbar
  • Changed sw-text-editor/index.js to fix text alignment assignment, when a complete HTML element is selected