Re: [Xsltforms-support] custom buttons in TinyMCE 4.3.12 and XSLTForms 638

2017-02-06 Thread Conal Tuohy
I noticed this para seemed odd: https://en.wikibooks.org/w/index.php?title=XSLTForms/TinyMCE&action=edit§ion=14 XSLTForms 638 supports both version 3 and version 4 of TinyMCE; the minimal > example of TinyMCE given on the AgenceXML web site uses XSLTForms 4.0.28. Did you mean, at the end of that

[Xsltforms-support] custom buttons in TinyMCE 4.3.12 and XSLTForms 638

2017-02-06 Thread C. M. Sperberg-McQueen
I’ve written down what I think I have learned in the last few days about using TinyMCE from XSLTForms, in the XSLTForms wikibook: https://en.wikibooks.org/wiki/XSLTForms/TinyMCE If any readers find errors there, please fix them or tell me so I can fix them. The section on custom buttons may ex

Re: [Xsltforms-support] custom buttons in TinyMCE (4.3.12) with XSLTForms (638)

2017-02-06 Thread C. M. Sperberg-McQueen
t;>> >>>> Short description: I don't seem to be having any luck making custom >>>> buttons work with TinyMCE in XSLTForms. Can anyone help? >>> ... >>> It might be cleaner to add a user hook to the default setup() >>> function. That is, if

Re: [Xsltforms-support] custom buttons in TinyMCE (4.3.12) with XSLTForms (638)

2017-02-06 Thread Alain Couthures
> ‘Xsltforms_usersetup’ in the TinyMCE initialization object, then >> the default setup function calls that user-supplied function. > A preliminary test suggests that this modification will work. > > I made the following changes to xsltforms.js, all to the function > X

Re: [Xsltforms-support] custom buttons in TinyMCE (4.3.12) with XSLTForms (638)

2017-02-06 Thread C. M. Sperberg-McQueen
will work. I made the following changes to xsltforms.js, all to the function XsltForms_input.prototype.initinput. 1 After the line reading 'initinfo.mode = “none”;’, I inserted /* MSM 20170206 add initinfo.Xsltforms_usersetup property to allow user contributions to setup() */ initinfo.Xsltforms_us

Re: [Xsltforms-support] custom buttons in TinyMCE (4.3.12) with XSLTForms (638)

2017-02-06 Thread C. M. Sperberg-McQueen
> On Feb 5, 2017, at 2:38 PM, C. M. Sperberg-McQueen > wrote: > > Short description: I don't seem to be having any luck making custom > buttons work with TinyMCE in XSLTForms. Can anyone help? Perhaps I see the source of the problem. Looking at xsltforms.js this morning, I see that the funct