Hi,
Does anybody know if it possible to attach a function to onclick event in a HTML button, inside de designer?
I mean, if you switch to HTML Mode in CKEDITOR, and I write the following:
if I switch again to Design Mode and press the button, it doesn't launch the "OpenModal()" function. It does if I render the HTML outside CDKEDITOR textarea workspace.
It sound a bit strange, I know, but what I want to do is a kind of "Report Template Creator", I mean, I kind of "Crystal Report". So, I want to put the references as HTML button and when the user hits it, it open a modal explaining what this reference is.
I hope somebody has any idea.
Thanks in advance.
Does anybody know if it possible to attach a function to onclick event in a HTML button, inside de designer?
I mean, if you switch to HTML Mode in CKEDITOR, and I write the following:
<input type="button" value="Open modal with something" onclick="OpenModal();" />
if I switch again to Design Mode and press the button, it doesn't launch the "OpenModal()" function. It does if I render the HTML outside CDKEDITOR textarea workspace.
It sound a bit strange, I know, but what I want to do is a kind of "Report Template Creator", I mean, I kind of "Crystal Report". So, I want to put the references as HTML button and when the user hits it, it open a modal explaining what this reference is.
I hope somebody has any idea.
Thanks in advance.