Ticket #628 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

new plugin SaveSubmit

Reported by: ray Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version:
Severity: normal Keywords:
Cc:

Description

For those who use Xinha in the fashion of a page editor: The plugin registers a button an an ctrl-s event handler for submiting the Xinha content via asynchronous postback for sending the data to the server. It generates a user notification while saving in the style of mokhet´s loading message #595 (using the css from his patch). One issue is that ctrl-s is alredy used for strikethrough in htmlarea.js

Attachments

SaveSubmit.zip (3.2 kB) - added by ray 7 years ago.
SaveSubmit.2.zip (3.4 kB) - added by ray 7 years ago.
Fixed an error that prevented to get the right URL from the form action
SaveSubmit.3.zip (3.1 kB) - added by ray 7 years ago.
edited to comply with the newly commited htmlarea.css
SaveSubmit.4.zip (3.4 kB) - added by ray 7 years ago.
applay editor.outwardHtml() on save
SaveSubmit5.zip (2.8 kB) - added by ray 7 years ago.
now submitting the whole form

Change History

Changed 7 years ago by ray

Changed 7 years ago by anonymous

  • owner changed from akaEdge to gogo
  • component changed from Documentation to Xinha Core

Changed 7 years ago by ray

Fixed an error that prevented to get the right URL from the form action

Changed 7 years ago by ray

edited to comply with the newly commited htmlarea.css

Changed 7 years ago by mharrisonline

If you change this line in htmlarea.js:

case 's': cmd = "strikethrough"; break;

to:

case 't': cmd = "strikethrough"; break;

ctrl-s will not strikethrough selected text, ctrl-t will.

Changed 7 years ago by ray

applay editor.outwardHtml() on save

Changed 7 years ago by ray

now submitting the whole form

Changed 7 years ago by ray

  • status changed from new to closed
  • resolution set to fixed

Changeset [562]

Note: See TracTickets for help on using tickets.