Charta now supports the binding that enables editing of external files from within Charta.
The binding has been introduced in Charta. The object supports the following three members:
| Name | Type | Description |
|---|---|---|
| Path | File path without file name and including trailing slash | |
| Name | File name without file path | |
| Media type | MIME type of the file contents, needs not to be registered with IANA |
When viewing objects from the user interface, Charta tries to create an appropriate editor associated with the media type for the file. Currently the following media types are supported:
| Media type | Description |
|---|---|
| application/javascript | Allows editing of Javascript files |
| application/pascal | Allows editing of pascal units |
| application/mysql | Allows editing of SQL files that use the MySQL dialect |
| application/xml | Allows editing of XML files |
| text/plain | Allows editing of plain text files |
| text/css | Allows editing of Cascading Style Sheets files |
