Issue description: When using multiple ckeditor instances with source mode, codemirror's instance will always point towards the last editor that entered source mode.
Setup Liferay DXP and make sure to set the following properties (not needed for master):
editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor editor.wysiwyg.portal-web.docroot.html.portlet.announcements.edit_entry.jsp=ckeditor editor.wysiwyg.portal-web.docroot.html.portlet.blogs.edit_entry.jsp=ckeditor
Create a web content structure TestStructure with 2 HTML fields
Create a web content template with this structure connected to the template
Create a web content useing TestStructure
Put the value for the first HTML field to "field 1"
Put the value for the second HTML field to "field 2"
Enable Source mode for the first HTML field
Copy the content from the first HTML field
Enable Source mode for the second HTML field
Paste the copied content from the first HTML field to the second HTML field
Switch Source mode back normal for the second HTML field
Update the value for the first HTML field to "new content for field 1"
Switch Source mode back normal for the first HTML field
Solution proposal: create another instance and use that for codeMirrorEditor and its handlers
Issue description: When using multiple ckeditor instances with source mode, codemirror's instance will always point towards the last editor that entered source mode.
Reproduction steps with LPS-136195
editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor editor.wysiwyg.portal-web.docroot.html.portlet.announcements.edit_entry.jsp=ckeditor editor.wysiwyg.portal-web.docroot.html.portlet.blogs.edit_entry.jsp=ckeditor
Solution proposal: create another instance and use that for codeMirrorEditor and its handlers