Closed (fixed)
Project:
Editor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Nov 2015 at 01:27 UTC
Updated:
18 Dec 2015 at 21:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sam152 commentedUnder certain circumstances, errors are triggered from editor.js which cause the panels UI to break and dump JSON commands to the screen.
Comment #3
sam152 commentedHere is the fix I have so far. It would perhaps be good to understand how things get into the broken state, it looks primarily related to missing JavaScript settings as a result of no 'editor' being selected for a particular input format, but it's still possible with out of the box settings to trigger it.
The fix could be the right solution, as the same check is further down the file:
Comment #4
sam152 commentedComment #5
devin carlson commentedThanks for the patch!
Retitling as this is a backport of #2031529: Fix JavaScript error when submitting a form that has a text_format selector set to a text format without associated text editor and attaching a slightly modified patch to stay in sync with D8.
Comment #6
sam152 commentedDidn't think to check the core queue for the same module, thanks for looking at this.
Comment #7
devin carlson commentedTested #5 and committed to Editor 7.x-1.x.
Comment #10
devin carlson commented