ahn / vaadin-aceeditor

Vaadin wrapper for Ace editor
Apache License 2.0
24 stars 37 forks source link

DEFAULT_ACE_PATH #19

Closed colin-z-lin closed 10 years ago

colin-z-lin commented 10 years ago

Hi:

Thank you for the great add-on!

I noticed that DEFAULT_ACE_PATH is set to "http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict". I need to host this by myself, so I can make it HTTPS, because my application requires HTTPS. Can someone tell me what is this URL for, so I can download all what I need and host myself?

Thanks!

ahn commented 10 years ago

Would the "Ace File Paths" section in the readme helpful for what you're trying to do? https://github.com/ahn/vaadin-aceeditor#ace-file-paths

colin-z-lin commented 10 years ago

Thank you for the reply. When it says "get the ace dir from the Vaadin Directory...", does it mean the ace folder in the source.jar that contains a 100+ of js files? Like the screenshot of the folder attached. ace

colin-z-lin commented 10 years ago

I tried above, but the editor is not correctly displayed.

The correctly look-and-feel using the default CDN should like below:

ace-good

But the self-hosted by following the above instruction looks like below:

ace-bad

Am I missing any steps?

colin-z-lin commented 10 years ago

Alright, I found an HTTPS based CDN, so never mind. You can close this if needed.