Changes with Aloha.Editor 0.20.0-RC9


Feature

formatlesspaste plugin: The elements stripped by the formatlesspaste plugin can now be configured like this

```javascript
“formatlesspaste“ :{
formatlessPasteOption : true,
strippedElements : [
“strong“,
“i“,
“b“,
“u”]
}

```


Feature

wai-lang plugin: The styling of the language input field, and dropdown suggestion box has been improved.


Feature

listenforcer-plugin: List enforcer plugin configuration should change

```javascript
// ... from this:

“listenforcer“ : {
“editables“ : {
“.myselector“ : [ “true“ ]
},
“config“ : “false“
}

//... to this:

“listenforcer“ : {
“editables“ : [ “.myselector” ]
}

```


Feature

listenforcer-plugin: The listenforcer plugin removes any non-list top-level elements to ensure that an editable in which lists are enforced will contain exactly one list as the only immediate child of the editable.


Enhancement

listenforcer-plugin: The enforce method is now a private function.


Enhancement

Some changes in the Browser Plugin (browser.js) to allow multiple, distinguishable instances of browsers on the same page


Bugfix

image-plugin: The saved aspect ratio will now be correcly recalculated when a cropping action is sucessfully ended. Previously the aspect ratio was not recalculated and therefore resizing of images resulted in unexpected image sizes.


Bugfix

customizable numerated-header plugin: when header content is deleted, the numeration tag will be deleted, too