google-code-export / mathmlformula

Automatically exported from code.google.com/p/mathmlformula
2 stars 0 forks source link

Remembering what you last saved #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To let the image remember its value I added a data-mathml attribute to the 
image output to later remember its value. Also I changed the fmath_nbFlash to a 
random number from 0 to 10,000 to minimize the possibilitie of later saving 
another image with the same id.

Files Changed
../fmath_formula/plugin.js
../fmath_formula/dialogs/editor.html

I hope this has some use.

Original issue reported on code.google.com by j...@affenbits.com on 28 Sep 2011 at 2:33

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

yes, data-mathml attribute - is a good idea
for Id I think I need to review. Also a random could generate same Id.

thank you
alex

Original comment by ionel.alexandru@gmail.com on 28 Sep 2011 at 1:29