Bernhard Döbler
2017-04-09 01:00:21 UTC
Hi,
I need a SQL editor on a web page and wanted to try eclipse Orion. I
follow the instrucion provided on page:
https://wiki.eclipse.org/Orion/How_Tos/Editor_Build#Using_the_RequireJS_build
I got the built-editor.zip download in recent version 14.3.
I copy the sample and modify the "data-editor-lang"-attribute to
"application_sql". The browser now tries to download file
"/orion/editor/stylers/application_sql/syntax.js" and fails because your
zip file does not server the stylers folder in an orion/editor" hierarchie.
I extend the require call to also require "stylers/lib/syntax.js" and
"stylers/application_sql/syntax.js".
Now everything works as expected.
Am I supposed to require every plugin myself or am I supposed to save my
files under "orion/editor"?
Best,
Bernhard Döbler
p.S.
There's another instruction I found via google:
https://wiki.eclipse.org/Orion/How_Tos/Code_Edit
I don't see it linked on page: https://wiki.eclipse.org/Orion/How_Tos
Where is a recent instruction that tells how I can embed the editor on
my page?
I need a SQL editor on a web page and wanted to try eclipse Orion. I
follow the instrucion provided on page:
https://wiki.eclipse.org/Orion/How_Tos/Editor_Build#Using_the_RequireJS_build
I got the built-editor.zip download in recent version 14.3.
I copy the sample and modify the "data-editor-lang"-attribute to
"application_sql". The browser now tries to download file
"/orion/editor/stylers/application_sql/syntax.js" and fails because your
zip file does not server the stylers folder in an orion/editor" hierarchie.
I extend the require call to also require "stylers/lib/syntax.js" and
"stylers/application_sql/syntax.js".
Now everything works as expected.
Am I supposed to require every plugin myself or am I supposed to save my
files under "orion/editor"?
Best,
Bernhard Döbler
p.S.
There's another instruction I found via google:
https://wiki.eclipse.org/Orion/How_Tos/Code_Edit
I don't see it linked on page: https://wiki.eclipse.org/Orion/How_Tos
Where is a recent instruction that tells how I can embed the editor on
my page?