Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 665 Bytes

2021-09-03-fix-state-text-editor-code-editor-switch.md

File metadata and controls

10 lines (10 loc) · 665 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 21
---
title:              Fix placeholderVisible state depending on isEmpty on mode switch
issue:              NEXT-17045
author:             Wolfgang Kreminger
author_email:       r4pt0s@protonmail.com
author_github:      @r4pt0s
---

Administration

  • Changed onContentChange method in platform/src/Administration/Resources/app/administration/src/app/component/form/sw-text-editor/index.js to fix state update of placeHolderVisible
  • Changed emitHtmlContent method in platform/src/Administration/Resources/app/administration/src/app/component/form/sw-text-editor/index.js to fix state update of placeHolderVisible on switching from code to text editor mode