PawelJ-PL / thymeleaf-editor

Online Thymeleaf editor
http://thymeleaf-editor.ns01.info/editor
GNU General Public License v3.0
8 stars 1 forks source link

Demo not working #3

Open mojo2012 opened 3 years ago

mojo2012 commented 3 years ago

Hi,

first, thanks for you hosted online editor, but it seems it doesn't work anymore. I can't manage to render anything. The demo values from the placeholder text don't work either.

Btw it would be better to not have the demo values as placeholders but as direct editable text.

best regards,

matthias

PawelJ-PL commented 3 years ago

Hi,

I've just checked and it works. I've use following input (copied from demo)

template: <div th:text="${person.firstName}">ABC</div>

model: person = {"firstName": "John", "lastName": "Smith", "age": 84, "alive": true}

in output field I got: <div>John</div>

I've just changed mode to XHTML (instead of VALIDXML)

Please let me know if it works

mojo2012 commented 3 years ago

Sorry, I did not see the combobox. The placeholders should then be adapted, or at least the default value XHTML should be fitting for the placeholder :-D