Topic on User talk:Krenair

Signing using Visual Editor

3
Ad Huikeshoven (talkcontribs)

Hi Krenair. Please help test template VESign. Edit a page using Visual Editor. Add template VESign. Hit Insert template. Click on the puzzle piece. Add four tildes in the field overwriting the gray four tildes you already see. Apply changes. Save page. Retry. Document your findings. Please let me know your experiences (thoughts, feelings). What would be proper name for the template? What would be a proper name for the single parameter? Can you suggest any other improvement?

Krenair (talkcontribs)

Hey. Have you seen bugzilla:51154? I think a better way to do this (instead of using a template) would be to write a JS plugin to VisualEditor that inserts the signature. Also, I changed the 'default' part of the TemplateData because it doesn't actually default to anything (just blank).

Ad Huikeshoven (talkcontribs)

I have read the bug now. Sorry I don't have any experience with JS. I have updated template VESign and tested again on user:Ad Huikeshoven/test. It is true that the default value in templatedata is displyed grayish in the dialog and those four tildes didn't write after hitting Insert template. Yes you have to manually insert four tildes in the parameter field. Those will display black in the dialog. Then after hitting Insert template you have entered four tildes. Which will render to your signature after hitting save. VE allows users to enter wiki syntax in template fields.

Reply to "Signing using Visual Editor"