Opened 13 years ago

Closed 12 years ago

#628 closed defect (fixed)

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 (5)

SaveSubmit.zip (3.2 KB) - added by ray 13 years ago.
SaveSubmit.2.zip (3.4 KB) - added by ray 13 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 13 years ago.
edited to comply with the newly commited htmlarea.css
SaveSubmit.4.zip (3.4 KB) - added by ray 12 years ago.
applay editor.outwardHtml() on save
SaveSubmit5.zip (2.8 KB) - added by ray 12 years ago.
now submitting the whole form

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by ray

comment:1 Changed 13 years ago by anonymous

  • Component changed from Documentation to Xinha Core
  • Owner changed from akaEdge to gogo

Changed 13 years ago by ray

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

Changed 13 years ago by ray

edited to comply with the newly commited htmlarea.css

comment:2 Changed 13 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 12 years ago by ray

applay editor.outwardHtml() on save

Changed 12 years ago by ray

now submitting the whole form

comment:3 Changed 12 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

Changeset [562]

Note: See TracTickets for help on using tickets.