Option to add Custom Elements with existing tags in HtmlCompletions

19 views
Skip to first unread message

Raju Balasunder

unread,
Feb 27, 2019, 4:04:13 AM2/27/19
to Ace Internals Dev
In HtmlCompletions, need to an option to set Custom Elements/Tags like <ace-editor><ace-editor>.

Do we have any plan to support it.

Harutyun Amirjanyan

unread,
Feb 28, 2019, 3:23:12 PM2/28/19
to ace-in...@googlegroups.com

there is no way to do this now, but for the next version i can add exports.elements = elements https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/html_completions.js#L237

which would allow to do ace.require("html_completions").elements.push("ace-editor")

Raju Balasunder

unread,
Mar 6, 2019, 5:59:38 AM3/6/19
to Ace Internals Dev
Thank you Harutyun Amirjanyan.
Reply all
Reply to author
Forward
0 new messages