Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 374563

Summary: Switch from id to class to identify editor element
Product: [ECD] Orion Reporter: John J. Barton <johnjbarton>
Component: EditorAssignee: Project Inbox <orion.editor-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 0.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description John J. Barton CLA 2012-03-16 17:08:36 EDT
The current editor uses DOM id='editor' as a distinguished marker for the editor container. This has two problems:

  1) It creates a global property named 'editor', on window (Unbelievable, but true), polluting the global namespace we just cleaned up with all that require.js stuff.

  2) It makes finding the correct instance of the editor difficult if you have several on a web page.
Comment 1 John Arthorne CLA 2015-05-05 14:53:32 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html