Page 1 of 1
BUG: Problem with Bootstrap HTML component. Destroying javascript tag when you save.
Posted: Thu Aug 04, 2016 6:14 pm
by Joni de Campos
The following code inside a bootstrap HTMl cmomponent is being breaking the tag when save
The bellow code is placed inside the Edit HTML:
%children%
Then Save.
When Edit again we find :
%children%
So it is missing the
BUG: Problem with Bootstrap HTML component. Destroying javascript tag when you save.
Posted: Thu Aug 04, 2016 8:54 pm
by Illya Stepanov
Hi Joni -
I'm not quite sure that I understand your issue here -- could you please explain it with screenshots?
BUG: Problem with Bootstrap HTML component. Destroying javascript tag when you save.
Posted: Thu Aug 04, 2016 9:50 pm
by Joni de Campos
Open bootstrap HTML Component to edit:
Save...
Open the HTML Editor again:
the
BUG: Problem with Bootstrap HTML component. Destroying javascript tag when you save.
Posted: Thu Aug 04, 2016 9:50 pm
by Joni de Campos
BUG: Problem with Bootstrap HTML component. Destroying javascript tag when you save.
Posted: Thu Aug 04, 2016 10:00 pm
by Joni de Campos
So..we can't get javascript inside the HTML ...
BUG: Problem with Bootstrap HTML component. Destroying javascript tag when you save.
Posted: Fri Aug 05, 2016 1:37 pm
by Galyna Abramovych
Hello Joni,
No, you are wrong here.
This behavior (deletion) is intentional because the Angular editor is of a concept that differs from that of JQM.
BUG: Problem with Bootstrap HTML component. Destroying javascript tag when you save.
Posted: Fri Aug 05, 2016 7:05 pm
by Joni de Campos
Understood.
So, suppose I need to integrate the HTML set as a DIV inside the Angular Editor with javascript routines, like getting a JSON array from a REST Service I would simple use {{ jsonValue}}, where jsonValue would be a $scope.jsondValue variable set in another routine ?
BUG: Problem with Bootstrap HTML component. Destroying javascript tag when you save.
Posted: Sun Aug 07, 2016 8:44 am
by Serhii Kulibaba
Hello Joni,
It'll add a html layout as a simple text. If you want to add a "real" html layout into your component, please use an attribute "ng-bind-html" for that:
https://docs.angularjs.org/api/ng/dir...
BUG: Problem with Bootstrap HTML component. Destroying javascript tag when you save.
Posted: Thu Aug 11, 2016 11:04 pm
by Joni de Campos