1
0
mirror of synced 2025-12-07 22:28:50 +08:00
Files
Mergely/CHANGES.md
Jamie Peabody bde295febd Build improvements (#73)
* removed editor and initial cleanup

* cleanup

* updated jquery

* tidy up

* moved src and build to lib

* tidy up and fixed webpack

* updated readme

* removed junk

* tidy up

* works with sample and editor

* removed editor_width and editor_height

* auto width and height

* added license feature

* not doing dist

* fixed typo

* added searchcursor

* fixed typo

* doc updates

* improved comment

* updated init for cm settings

* fixed jquery/cm includes

* documentation updates

* updated changes doc

* fixed cmsettings

* updated examples
2017-12-18 21:53:03 +00:00

22 lines
918 B
Markdown

# Changes
## 4.0.0
### Breaking changes
* Now using `npm` as the preferred distribution method.
* Improved width/height options. Removed options `editor_width` and `editor_height`, and added `width` and `height`. The options are equivalent.
* Added license option to indicate which type of license to use.
* Only distributing the minimized version as `mergely.js` (was `mergely.min.js`).
* No longer bundling CodeMirror. You will need to get the appropriate source files from a CDN.
### Minor features
* Created `mergely-webpack` example.
* Lighter distribution (no longer bundling CodeMirror or the Mergely editor).
* Made it easier to set CodeMirror settings via `cmsettings` for both editors, then applies `lhs_cmsettings` for the left-hand editor, and `rhs_cmsettings` for the right-hand editor.
### Fixes
* Previously `width: 'auto'` would unnecessarily account for a scroll bar width, now it does not.