Fixes#10708 by removing the `inert` attribute on `#mainWrapper` when `editorService.closeAll()` is called.
This code is necessary because when close all is called, there is no editor passed, and so `removeEditor` is never called, and so the `focusLockService.removeInertAttribute();` method isn't called. I add to the if block that handles the close all code instead.
(cherry picked from commit 1f4cc81af8)
Fixes#10708 by removing the `inert` attribute on `#mainWrapper` when `editorService.closeAll()` is called.
This code is necessary because when close all is called, there is no editor passed, and so `removeEditor` is never called, and so the `focusLockService.removeInertAttribute();` method isn't called. I add to the if block that handles the close all code instead.
* Add missing focus styling
* Fix issue where validation message does not disappear when all chars are removed
Co-authored-by: BatJan <jaskov@gmail.com>
Co-authored-by: Jan Skovgaard Olsen <jso@co3.dk>
We added an overload that would conflict for people with existing templates, that was a bit too premature. Disabled for now with a note to look into it for v9 again.
* Support for language of parts
* Changed casing of "FallBack" to "Fallback" to be consistent with the existing code.
* Now tests the type to determine if span should be added.
* Remove magic strings and return <div> for IHtmlString values
This fixes the "string" vs "String" issue in the previous commit and prevents the function returning invalid markup
* Fix for test providing string as "object"
Co-authored-by: Joe Glombek <joe@rockdove.uk>
* Add missing focus styling
* Change width to ensure label does not get too wide
Co-authored-by: BatJan <jaskov@gmail.com>
Co-authored-by: Jan Skovgaard Olsen <jso@co3.dk>
The logic in the markup was previously incorrect.
I changed the check from `tab.length` to `dashboard.length`.
The custom dashboard's label isn't `.caption` and it's per dashboard,
not per "property".
Lastly, `.path` should be `.view`.
Resolves#6417
Having had an older version of visual studio running I've been unable to build the source without making changes to the solution. However, upgrading to at least VS 16.8 has meant those changes haven't been required. This is to do with how the language target "latest" was working.
Propose upping the min version listed here to avoid build issues being raised.
* Enabling configuration of remote URL for fetching content on the content dashboard and adding additional params indicating whether solution is running on Umbraco Cloud
* Determining if Umbraco is running on Umbraco Cloud by checking whether Umbraco.Deploy.Cloud.dll is present and making its value more accessible for other contexts. Passing a hosting parameter as string instead of boolean
* Changing from Unknown to OnPremises
* Updated content dashboard to use hard-coded URL but path derived from configuration.
Co-authored-by: Andy Butland <abutland73@gmail.com>
(cherry picked from commit 917c89cde7)
* Enabling configuration of remote URL for fetching content on the content dashboard and adding additional params indicating whether solution is running on Umbraco Cloud
* Determining if Umbraco is running on Umbraco Cloud by checking whether Umbraco.Deploy.Cloud.dll is present and making its value more accessible for other contexts. Passing a hosting parameter as string instead of boolean
* Changing from Unknown to OnPremises
* Updated content dashboard to use hard-coded URL but path derived from configuration.
Co-authored-by: Andy Butland <abutland73@gmail.com>