# v0.50.0 * When using the HTML editor, you can now insert an image by browsing. * When using the HTML editor, you can now browse content when inserting a link. # v0.42.0 * Resolved: Link and linklist editors remember selected item when re-opening the content browser. * Resolved: Link editor works on empty links, too. * Resolved: Internal links with fragments no longer lose the fragment when re-editing. # v0.41.0 * Link and linklist editors initially show description for editor (for internal links). # v0.40.0 * Updated HTML editor to Redactor 10.0.6 * Introduced API for Redactor options, e. g. `scrivito.editors.html_editor.redactor.options = { buttonSource: true }` * Resolved: Markup will now stay unchanged when the editor is closed without editing. * Resolved: Cursor will now appear at the point of clicking, if possible. Otherwise at the end. * Resolved: Link editor shows current selection when opening the content browser. # v0.30.1 * Resolved issue: Date editor keeps time when editing * Resolved issue: Date editor saves without NaN errors in Safari and Firefox * Resolved issue: text editor on Chrome keeps line breaks when leaving the editor # v0.30.0 * Compatibility with https://rubygems.org/gems/scrivito 0.30.0 * Scrivito editors no longer provide icon font support. We recommend to use screenshots or an open font CSS library when migrating thumbnail views to the SDK's `scrivito_thumbnail` helper. # v0.1.0 * Changed dependency to `scrivito_content_browser` due to gem renaming * Removed deprecated content browser API calls, use new API * See your app's JS console for hints and deprecation warnings # v0.0.16 * Bugfix: added a missing constant in text editor * Introduced `ScrivitoTagHelper` for upcoming Scrivito SDK releases (`CmsTagHelper` is still available for compatibility with older releases) # v0.0.15 * Reduce unwanted `nbsp` in HTML editor * Resolved issues in string and text editor * Experimental feature: double clicking editable link texts follow the link # v0.0.14 * Added the `CmsTagHelper` module containing methods that are needed to render the html for certain editors. You can now safely delete `editing_helper.rb` generated by Scrivito Kickstarter. Kickstarter will still generate this file, while we are in the process of providing you with alternative ways to get you going without the need for Kickstarter. (Keep an eye on https://github.com/infopark/scrivito_example and upcoming Scrivito SDK releases) * Tuned Redactor settings to make the HTML editor less intrusive * Corrected the `jquery-rails` gem version dependency * Solved various editor related issues # v0.0.13 * Added `autosave` option to the string editor to prevent that on every input the content is saved to the CMS. This is useful when setting a permalink for example, where intermediate strings would trigger an error. When `data-autosave` is set to `false`, then only `enter` and the `blur` event will save the string to the CMS. * Added editor for new attribute type `link`. It lets you set the title and url of the link, similar to how a linklist is edited. It can also handle an empty url, which effectively deletes the link. * Allow to select multiple editors on one cms field. You can now use `data-editor="reference image"` for example, to activate both editors. * Added image upload editor, that allows to drag & drop an image on an existing image. This functionality was moved out of the Scrivito SDK. * Updated Redactor to version 9.2.5. * Removed unused `jQuery.center` addon. * We separated the jQuery addons from the core editors functionality, which allows to only require one, but not the other. Use `//= require 'scrivito_editors'` to require both, `//= require 'scrivito_editors_core'` to only include the editor but not the addons and use `//= require 'scrivito_addons'` if you only want the addons. (Thanks @cedrics) # v0.0.12 * Rails no longer supports the `vendor` directory, so we moved the assets into the standard asset folder, so that they are integrated into the asset pipeline automatically. * Integrate new Scrivito SDK JavaScript events. * Editing `enum` and `multienum` fields no longer triggers a page or widget reload. # v0.0.11 * Added "Close" button to the HTML editor, to have an additional option to close the editor, besides hitting "Esc". * The new Scrivito SDK feature to serialize save requests allows editors to automatically save the content on every input instead of every 3 seconds. The `string`, `text` and `html` editor now all make use of this feature. * The "Esc" key on `string`, `text` and `html` editors now just destroys the editor, without resetting to any old content. * All editors now trigger a `save.scrivito_editors` event, when the content was successfully saved in the CMS. * `string` and `text` editors now only save, if the content has changed, as it is already the case for the `html` editor. * `referencelist` and `linklist` editors now make use of the new single selection mode option of the resource browser. # v0.0.10 * Extracted resource browser into separate gem. # v0.0.9 * Bugfix: It is now possible to have multiple string and text editors active at the same time. # v0.0.8 * Use Twitter Bootstrap styling for enum and multienum select fields. # v0.0.7 * Linklist and referencelist editors now better handle all aspects of the inplace editing process for these two attributes. The "add" button no longer has to be rendered by the application code. The styling of both editors was also improved to make it more user friendly. * Resourcebrowser: Thumbnails only display an image, if the object defines a `image?` method, that returns `true`, otherwise a generic icon is rendered. * Bugfix: The string and text editor now also save correctly, when highlighting and editing the content without triggering a `click` event. * Bugfix: The placeholder now also works for attributes, that have been cleared without triggering a reload of the page afterwards. (Thanks @gertimon) * Bugfix: The default placeholder text for empty CMS attributes only used the name of the first attribute on the page, instead of the correct field name for each CMS attribute. # v0.0.6 * Rewrite of string and text editor to better support pasting HTML, correctly handling quotes, inserting the carrot at the correct position and better multiline support for preformatted text fields. (Thanks @dcsaszar) * Bugfix: Using renamed `obj_class_name` method from the new Scrivito SDK instead of `obj_class`. * Changed the behavior when an item is clicked in the resource browser. Instead of opening the inspector, the item is now selected or deselected. A small magnifying glass in the upper right corner of the thumbnail now allows to open the inspector for the item. * Rename the fallback inspector view to `details.html`, to be consistent to the new Scrivito SDK. # v0.0.5 * The template used in the inspector is no longer configurable and always corresponds to the details view used by the Scrivito SDK. * Bugfix: The resource browser did not use a correct start index to render multiple thumbnails. # v0.0.4 * Bugfix: Resourcebrowser buttons now also work in Chrome browser. # v0.0.3 * Updated redactor to version 9.2.1 and removed all custom settings. * Added option `data-reload` to the string editor to configure if a reload event should be triggered or not after saving the changes. (Thanks @apepper) # v0.0.2 * Added placeholder text to empty CMS attributes. # v0.0.1 * Updated html editor seperator height from 29px to 27px. * Updated the README to describe the new gem. * Added editing icons used in some of the editors and the resource browser. * Removed the saving animation for editors to not disturb the in-place editing experience.