file:/// protocols.leaf.view can now never be null.Suggest component's DOM structure. If your plugin is attaching itself to core Suggest components or mimicking the Suggest component structure, it will likely be impacted.
- .suggestion-item
- .suggestion-content
- .suggestion-title
- .suggestion-note (optional)
- .suggestion-aux
- .suggestion-hotkey (optional)
- .suggestion-flair (optional)
workspace.getActiveFile has been updated to now return the file of the most recently active FileView. This change should improve compatibility for custom views now that sidebar views are focusable. If you were previously using workspace.getMostRecentlyActiveFile for v0.15.X compatibility, please switch back to getActiveFile.body:not(.native-scrollbars) for any scrollbar styling.Escape when not focused on a pane now focuses the last active editable pane.Node (like Element, HTMLElement, etc) and all derivatives of UIEvent (like MouseEvent, KeyboardEvent, etc)
element.doc or event.doc) and window (element.win or event.win).element.instanceOf(HTMLElement) or event.instanceOf(MouseEvent) to perform instanceof checks without having to worry about cross-window constructors.HTMLElement now also has a onWindowMigrated hook that can be used to monitor when the element gets attached to different windows. This can be used to re-initialize views that depend on window globals.window-open and window-close.MenuItem now has a new method setSection(string). Items from the same section will be grouped together, in the order they were defined or first used. The default section (empty string) will contain all legacy/plugin/unspecified menu items and is usually put into a specific spot of the sort order (for example, before the danger items). Inspect the DOM to see existing sections' data-section.MenuItem directly - please use Menu.addItem instead.View, we've deprecated the onHeaderMenu and onMoreOptionsMenu in favor of a single onPaneMenu function with a source parameter. This new method will be used for both the header menu (right clicking on a tab header in the sidebar) and the more options menu (three dot menu).Esc with a sidebar view focused will refocus your last note.mod-active class to the tab headers when the view is active.Ctrl/Cmd-clicking on the active file in the File Explorer will open it in a split instead of focusing the explorer.#) that appears in an unfocused editor is now hidden.Workspace functions whose behavior conflicted with user expectations..is-focused class to the window body of the currently focused window.Enter / Shift+Enter to select.Escape when there's a highlight in the editor (from search or navigation) causes the highlight to be removed, instead of requiring a mouse click.Ctrl+N/P can now be used to navigate suggestion results similar to Up/Down arrow keys.minAppVersion to 0.15.0.stat on directories gives NaN.eval at anonymous.contain property.Tab related navigation broken in modals.jsp code blocks causes the editor parsing to crash.publish flag not working.You can now collaborate on your site using their Obsidian account, so that multiple users can publish to the same site.
You can now configure a list of included and a list of excluded folders when publishing changes.
publish: flag will override this setting for individual notes.In the "Publish changes" dialog, you can now right click on each note for a list of options, such as...
opus audio files are now recognized as a supported file type.sec-ua-hint to reduce issues with iframes.registerDomEvent can now take an options object (for things like {capture: true}).goWordLeft and goWordRight editor commands.num + j combos sometimes not working when screen is scrolled.<iframe> and <webview>.? query parameters.<webview> unable to open pages externally in the browser.--default-font is now --font-default (but it will fallback to --default-font)--interface-font is now --font-interface.--editor-font is now --font-text and will cover both editing and reading.--font-interface-theme and --font-text-theme dedicated for themes to set the fonts.<style> tag to avoid issues with imports not working.app is now officially available as a global variable.