2.5.0
- Implemented
apos.areas.fromPlaintext
, which accepts a string of plaintext (not markup) and returns an area with a singleapostrophe-rich-text
widget in it, containing that text. Useful in implementing importers. - The so-called
csv
import mode ofapos.schemas.convert
works properly for areas, using the above. Although it is called csv this mode is really suitable for any situation in which you have plaintext representations of each schema property in an object and would like those sanitized and converted to populate a doc. - Bug fix: emit the
enhance
Apostrophe event only once on page load. This event is emitted only when there is new content that has been added to the page, e.g. once at page load, and also when a new widget is added or updated, etc. The first argument to your event handler will be a jQuery element which will contain only new elements. - Legacy support for
data/port
anddata/address
files has been restored. (Note thatPORT
andADDRESS
environment variables supersede these. In modern Stagecoach deploymentsdata/port
is often a space-separated list of ports, and thedeployment/start
script parses these out and launches multiple processes with different PORT variables.)