Commit Graph

20746 Commits

Author SHA1 Message Date
Mads Rasmussen
2180b6ef24 render create options 2024-10-29 17:03:27 +01:00
Mads Rasmussen
51171a2f33 import after restructure 2024-10-29 13:25:39 +01:00
Mads Rasmussen
74fec69782 restructure modules 2024-10-29 13:18:14 +01:00
Mads Rasmussen
65d2edc288 setup common action and generic modal 2024-10-28 22:49:05 +01:00
Mads Rasmussen
ac5f870978 register user entity create option actions 2024-10-28 22:18:27 +01:00
Mads Rasmussen
f4dea3d415 export manifests 2024-10-28 17:47:41 +01:00
Mads Rasmussen
5558acb02e use entityCreateOptionAction entity type 2024-10-28 17:47:09 +01:00
Mads Rasmussen
4f0606eb8a Update index.ts 2024-10-28 15:11:43 +01:00
Mads Rasmussen
eb98f2dd65 register create options 2024-10-28 15:08:23 +01:00
Mads Rasmussen
b21ae95010 add global-components folder 2024-10-28 15:08:14 +01:00
Mads Rasmussen
c9332ad03c wip add entity-create-option-action extension point 2024-10-28 14:56:14 +01:00
Mads Rasmussen
848ddb774b Hotfix: Correct user enable notification (#2487)
* show localized notification when user is enabled

* localize disable messages
2024-10-28 10:48:32 +00:00
Mads Rasmussen
18f1df46a5 Hotfix: Publish with decendants structure reload (#2486)
* ensure we always have the latest variant data

* use enum value

* Update document-tree-item.element.ts

* only dispatch event if there is no error

* reload structure after publish with descendants

* only request update if it succeeds

* rename private method
2024-10-28 10:41:45 +00:00
Mads Rasmussen
9b94b4abc9 Bugfix: Hide template input when there are no allowed templates (#2484)
hide template input when there are no allowed templates
2024-10-28 10:35:32 +00:00
Bjarne Fyrstenborg
92028a2b1c Tags matchlist on top of following markdown toolbar (#2489)
Set z-index of matchlist to ensure on top of following markdown toolbar

(cherry picked from commit c9f8f62b84)
2024-10-28 10:29:39 +00:00
Lee Kelleher
0aeaf9ab65 Bugfix: Prevent delete a template when has children (#2479)
* Adds "Template Has No Children Condition"

to prevent the "delete" action being displayed
for templates that have child templates.

* Removed condition config type

it didn't have any configurable properties.

Lazy-loaded the manifest api.

* Renamed "Template Has No Children" condition

to "Template Allow Delete Action" condition.
2024-10-28 11:24:50 +01:00
Mads Rasmussen
368d0a0b0c Merge pull request #2470 from bjarnef/bug/content-type-design-editor-property-zindex
Remove z-index from header in content type design editor property
2024-10-25 14:12:28 +02:00
Mads Rasmussen
c5fd1885cf Bugfix: Allow breadcrumb for variant root items (#2482)
unique can be null so only check for undefined
2024-10-24 11:25:40 +01:00
Mads Rasmussen
9bc5ab33d2 Workaround: Ignore discard changes when in a workspace modal (#2481)
ignore discard changes when in a workspace modal
2024-10-24 09:42:16 +01:00
Mads Rasmussen
59d4f8852c Hotfix: document variant publication info (#2478)
* export token

* show current variant status, fix published pending changes + create date

* remove unused

* temp type casting
2024-10-23 10:49:03 +01:00
Busra Sengul
6ee732d8b1 Bugfix: Tiptap RTE custom dimensions configuration (#2469)
* tiptop min height configuration

* Removed `min-height`; credit to @innovoix

* Clarified the use of `display:flex`

* Changed to use `height` instead of `min-height`

as this will control the maximum height of the editor input area.

---------

Co-authored-by: leekelleher <leekelleher@gmail.com>
(cherry picked from commit 7c54064f59)
2024-10-21 12:25:47 +01:00
Niels Lyngsø
ca17401694 use server paths for preview url construction 2024-10-17 13:09:52 +02:00
Jacob Overgaard
e445ce989f docs: add generated file to ignore for typedoc 2024-10-16 21:17:29 +02:00
Jacob Overgaard
cdfcd929ee docs(storybook): remove invalid argType that is not useful 2024-10-16 21:12:47 +02:00
Niels Lyngsø
19de38f021 Bugfix: Variant Blocks create duplicates in the frontend when created in an area (#2464)
* revert to previous code before tiptap

* correct rte-entries context
2024-10-16 17:11:47 +02:00
Jacob Overgaard
53ccd2344b Merge pull request #2465 from umbraco/v15/feature/tiptap-paste-files
Tiptap: allow images to be uploaded from the clipboard
2024-10-16 16:31:24 +02:00
Jacob Overgaard
dcc2ced8ff fix: catch any uncaught promises up the chain that could be thrown if there is a fatal error with the request 2024-10-16 15:16:51 +02:00
Jacob Overgaard
5003e1c1e7 feat: allow images to be uploaded from the clipboard 2024-10-16 15:09:24 +02:00
Niels Lyngsø
472a0cddad Merge pull request #2460 from umbraco/v15/hotfix/17274
Hotfix: correct config field alias to 'useLiveEditing'
2024-10-16 13:48:10 +02:00
Lee Kelleher
ef6afe1975 Bugfix: TinyMCE anchor links without base URL (#2462)
* Fixes TinyMCE anchor links without a base URL

it was previously prefixing the `href` with the current backoffice page URL.

* Code tidy-up + remove unused code
2024-10-16 11:37:11 +00:00
Niels Lyngsø
f001e168c9 correct config field alias to 'useLiveEditing' 2024-10-16 10:55:08 +02:00
leekelleher
22f8aac99f Tiptap extensions field
observes the Block configuration,
updates UI accordingly, to enable/disable the Block extension.
2024-10-14 15:27:31 +02:00
leekelleher
bd5b898fce Tiptap toolbar designer reworking
Observes the enabled extensions,
updates available items accordingly.

Adds a context API and label localizations.
2024-10-14 15:27:31 +02:00
leekelleher
0b7c50730e Updated Tiptap data-type config labels/descriptions 2024-10-14 15:27:31 +02:00
leekelleher
7f84bc31a8 Updated tiptapToolbarExtension manifest with forExtensions data 2024-10-14 15:27:31 +02:00
leekelleher
171b899828 Relocated UmbTiptapToolbarValue 2024-10-14 15:27:31 +02:00
leekelleher
36b7a68f7c Adds "Rich Text Essentials" as a hard-coded core option
This is to indicate that the basic formatting,
e.g. bold, italic, etc are enabled by default.
2024-10-14 15:27:31 +02:00
leekelleher
7b548768c6 Reworked Tiptap Extensions configuration
Refactored UI to be a grouped checkbox lists,
improves on intend and accessibility.
2024-10-14 15:27:31 +02:00
leekelleher
7719d4b578 Reordered Tiptap extension manifests
Removed the weighing and put into order of perceived usefulness.
2024-10-14 15:27:31 +02:00
Jacob Overgaard
71842b2d1d Merge pull request #2453 from umbraco/v15/chore/update-uui-1110
Dependencies: Update @umbraco-ui/uui to 1.11.0
2024-10-14 09:59:44 +02:00
Jacob Overgaard
bc2d2916fd build(deps): update @umbraco-ui/uui to 1.11.0 2024-10-14 09:40:41 +02:00
Niels Lyngsø
507f08fcc0 Merge pull request #2438 from umbraco/v15/hotfix/pass-workspace-pattern-to-edit-doc-type
Pass workspace path to document type edit path
2024-10-11 15:05:31 +02:00
Mads Rasmussen
4c371fc1d6 Merge branch 'release/15.0' into v15/hotfix/pass-workspace-pattern-to-edit-doc-type 2024-10-11 14:38:02 +02:00
Niels Lyngsø
0d61ff3411 Fix: Block Editors — use create labels and hide 'edit'-action if no properties (#2424)
use create labels and hide edit if no properties

Co-authored-by: Mads Rasmussen <madsr@hey.com>
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-11 08:33:26 +02:00
Mads Rasmussen
11f69be335 Hotfix: Expose global types (#2442)
* add script

* run script post build

* remove unused script

* add types to root import

* add util

* build to packages folder

* Update global-types.js

* only include js files in importmap
2024-10-11 08:22:51 +02:00
JesmoDev
1ecf9c5c51 Storybook 8 Upgrade (#2440)
* upgrade storybook to 8.3.5

* remove packages no longer needed

* fix: overwrite storybooks favicon

* chore: replace deprecated `Story` with `StoryFn`

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-10 16:17:39 +02:00
Jacob Overgaard
ba1011b2c7 Merge pull request #2437 from umbraco/v15/chore/update-uui-1101
build(deps): update @umbraco-ui/uui from 1.10.0 to 1.10.1
2024-10-10 15:19:10 +02:00
Mads Rasmussen
882c22d2c8 pass workspace path 2024-10-10 11:33:05 +02:00
Jacob Overgaard
ab7da94789 build(deps): update @umbraco-ui/uui from 1.10.0 to 1.10.1 2024-10-10 09:43:16 +02:00
Jacob Overgaard
bc9ace9067 fix: allow <code> elements in TinyMCE (#2434)
This allows `<code>` elements to exist in the HTML used in the code snippet plugin. It has the `-` modifier to remove empty elements.

Co-authored-by: Wojciech Wróbel <wrobel_w@wp.pl>
2024-10-09 17:38:28 +02:00