Discussion:
[orion-dev] Editor Build require stylers
Bernhard Döbler
2017-04-09 01:00:21 UTC
Permalink
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?
Libing Wang
2017-04-10 20:02:00 UTC
Permalink
_______________________________________________
orion-dev mailing list
orion-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev
Wim Jongman
2018-01-29 09:56:42 UTC
Permalink
> You can also ask further questions more interactively from
> https://mattermost.eclipse.org/eclipse/channels/orion, mentioning
> @libingwang.
>

I would like to note that q&a on mattermost does not help build community
documentation.

Cheers,

Wim
Carolyn MacLeod
2017-04-11 14:15:56 UTC
Permalink
_______________________________________________
orion-dev mailing list
orion-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev
Loading...