WYSIWYG HTML editor for grails gsp files

Does anyone know of a good HTML editor that can be configured in such a way that it knows gsp? I mean that at least tags like <g:link>and <g:input>should be displayed as their html equivalent.

Yes, I know: an ideal editor is difficult to write, and it is easier to edit HTML sources (what I do), but there are people who prefer an HTML editor ...

Update: yes, I am looking for a WYSIWYG HTML editor with which I can drag and drop some html elements onto a page without changing the tags <g:...>that may already be in the page. In addition, this editor should have some gsp awareness, so tags are <g:...>displayed accordingly.

Update: still looking for something, so I started generosity. I need something like this plugin: http://code.google.com/p/grails-form-builder-plugin/ , but more developed ...

Bounty: It’s not easy to choose the right answer for generosity. None of the answers is the solution to my problem, but I decided that rschlachter points me in the right direction: the wysiwyg form editor is not suitable for the developer ...

+3
source share
5 answers

, . HTML - , - gsp. HTML, WYSIWYG, Grails.

, / WYSIWYG, gsp.

, , :

  • HTML
  • GSP

gsps (.. - ), html , gsp html-.

+5

IBM Maqetta, , :

http://maqetta.org/

+2

Orbeon may be an option http://www.orbeon.com/orbeon/home/

+1
source

You may be able to do this with TinyMCE by setting up valid_elementsor extended_valid_elements( docs ). For example, if you want to replace <g:link>and <g:input>, you would do something like:

tinyMCE.init({
    valid_elements : "a/g:link,input/g:input"
});

OR If you just want to include additional elements, you can do something like:

tinyMCE.init({
    extended_valid_elements : "g:link,g:input"
});
+1
source

Source: https://habr.com/ru/post/1795409/


All Articles