[MGNLUI-2406] BasicTextCodeField doesn't support freemarker syntax highlighting Created: 15/Nov/13 Updated: 22/Sep/14 Resolved: 22/Sep/14 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | forms |
| Affects Version/s: | 5.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Federico Grilli | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Description |
|
The Vaadin's Ace Editor addon doesn't come with freemarker syntax highliting support out-of-the box, so in that case defaults to plain text. After a little investigation I found out that adding support for a new language involves rebuilding ace editor javascript but that is not a straightforward process as far as I could see and would take some time. (See https://github.com/heygrady/ace-mode-freemarker) |
| Comments |
| Comment by Christopher Zimmermann [ 04/Dec/13 ] |
|
Perhaps we could get Antti Nieminen (https://vaadin.com/directory#addon/aceeditor) to add the ftl support to his Ace editor component. |
| Comment by Christopher Zimmermann [ 04/Dec/13 ] |
|
Interesting that the ace editor demo does support FTL: http://ace.c9.io/build/kitchen-sink.html |