See also the changelog of monaco-editor.
- Remove dependency on frontend-maven-plugin, this is used only during building
- Update to monaco editor 0.22.0 and update
EditorOptions
- Update to monaco editor 0.21.1 and update
EditorOptions
- Implement #16, new option
scheme
for widgets and methodcreateModel
for extender - Update NPM and maven dependencies
- Update to PrimeFaces 8.0
- Update to monaco editor
0.20.0
- Add documentation to the
EditorOptions
and related classes (taken from the monaco editor API docs).
- Add a new widget:
monacoEditorFramed
. It load the monaco editor in an iframe for improved encapsulation. - Update to monaco editor
0.19.3
- Fix some issues: #11, #13, #14
- Update
primefaces-monaco.d.ts
: Useimport
types instead oftriple-slash
directive formonaco-editor
- Update to monaco editor
0.18.1
- Update
EditorOptions
with the new available options
- Feature #9. Add new method to extender:
createEditorOverrideOptions
. This lets you pass specify custom override services to the editor. - Fix #10. Load CSS worker when language is set to SCSS or LESS
- Fix a missing localization (CSS specificity tooltip)
- Fix microsoft/monaco-editor#1353 (scrolling does not work in Firefox). It will be fixed in the next release of monaco-editor. Since it seems to be taking some time, this includes the proposed patch microsoft/vscode#72832
- Demo project: change from cargo to jetty
- -Update to monaco editor 0.17.1
- -Add transparent
getValue
/setValue
methods to the widget API, see #7 - -Keep scrolling position during AJAX update, see #8
- -The widget is now a
PrimeFaces.widget.DeferredWidget
, so that it works better withp:tabs
etc, see #6
- -update to PrimeFaces 7.0 (no guarantees it will work with PrimeFaces 6)
- -update to monaco editor 0.17.0
- -no more uses of
eval
. - -due to the above: the property
extender
of themonacoEditor
component, if given, must now be a valid JavaScript expression evaluating to an extender object. Loading the extender from an URL is not supported anymore. The recommended way is to define a factory function in an external file and call that. - -client-side script
widget.js
now gets minified - -add method
whenReady
to client-side widget - -update npm and maven dependencies
- -reuse model (
ITextModel
) if it exists already
- -update to monaco editor 0.16.1 (solves an issue with IE)
- -add new languages to the Enum of available code languages (see
EditorOptions#setLanguage
) - -add an optional hook to the extender:
createWorker
. This lets you load your own workers instead of using the default ones. - -add 3 new options to the
monacoEditor
tag:directory
,basename
,extension
. This may be useful in case you need to customize the editor on the client side. - -updated and corrected type definitions
- -When the editor is instantiated, create an
ITextModel
manually instead of just passing a value and language in theIEditorConstructionOptions
. If you are using anMonacoExtender
, the propertieslanguage
andvalue
are still available in theIEditorConstructionOptions
passed#beforeCreate
, but they will be removed in version 0.17. Use the propertymodel
instead.
- -update to monaco editor
0.16.0
- -update the editor options, added
cursorSmoothCaretAnimation
,renderFinalNewline
, andfastScrollSensitivity
- -expose part of the interal vscode API to allow for deeper customization
- -fix a type in the EditorOptions (codeActionsOnSave is a Map<String, Boolean>)
- -update some NPM dependencies
- -update Monaco Editor to 0.15.6.
- -update NPM dependencies
- -update Monaco Editor to 0.15.1.
- -update NPM dependencies (webpack, style-loader, css-loader)
- -update NPM dependencies (webpack)
- -also trigger events on the main element (PrimeFaces.widget.BaseWidget.jq)
- -update NPM dependencies
- -fix a build error with Windows (\ instead of /)
- -fix issues #1 and #2
- Updated to monaco editor 0.14.3.
- Updated monaco editor to 0.14.2.
- Remove unused i18n keys, this reduced the file size of locales from ~500 KB to ~50KB.
- Workaround for some missing i18n keys. See Microsoft/monaco-editor/issues/822
- Prepare localization within web workers. The localization file is now respected by web workers (CSS/HTML/TYPESCRIPT/HTML) as well.
- Fixed a bug with web workers, certain library functions were not available to the web workers.
global.monaco
was set via webpack, butmonaco-editor
sets the variable itself.
- Initial release for monaco editor 0.13.1