Hi Yann,
As I`ve explained it to Caleb, in a private chat, you don`t need to create
a new extension (repo + jira project) for that. Just create a new maven
"-ui-code" submodule and have the -ui module depend on it. From other 3rd
party extensions, you can depend on this -ui-code module and require it as
an AMD module to use it as needed.
The directory layout for the syntax highlighting maven module should look
somethin like this:
editor-tool-highlighting
- editor-tool-highlighting-ui
- editor-tool-highlighting-ui-code
I`ve created 2 components in the current jira project since they were
missing:
http://jira.xwiki.org/browse/WIKIEDITOR#selectedTab=com.atlassian.jira.plug…
If you like and consider it necessary, we could create a 3rd component,
"Syntax Highlighting Code".
WDYT?
Thanks,
Eduard
On Wed, Dec 16, 2015 at 6:12 PM, vincent(a)massol.net <vincent(a)massol.net>
wrote:
On 16 Dec 2015 at 16:56:57, Yann Flory (yann.flory(a)xwiki.com(mailto:
yann.flory(a)xwiki.com)) wrote:
Hello devs,
In order to be able to use the CodeMirror editor in other extensions,
we'd
like to split the Syntax Highlighting application
in two parts (Cf
http://jira.xwiki.org/browse/WIKIEDITOR-37)
A new extension, Syntax Highlighting UI Module, would be created and it
would provides the ability to transform a given textarea into a
CodeMirror
editor.
The current extension would keep the part which detect all textareas in
'edit' mode and transform them into CodeMirror editors (with a dependency
on the new extension).
If this is accepted, we'll need a new Jira project for the module.
Note: We create a jira project per repo, I don’t think we need 2 jira
projects. We could have 2 jira “components” though.
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs