Commit Graph

20728 Commits

Author SHA1 Message Date
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
Niels Lyngsø
24de66fe49 Merge pull request #2433 from umbraco/v15/hotfix/login-image
update login photo for v15
2024-10-09 14:29:03 +02:00
Niels Lyngsø
7f5ddc87c3 update login photo for v15 2024-10-09 14:19:05 +02:00
Jacob Overgaard
a13f5cf062 Merge commit from fork
* fix: remove unwanted HTML from translation values

* feat: add a general sanitizeHTML function

* fix: use the `sanitizeHTML` function where values are showed in the Backoffice
2024-10-09 11:15:41 +02:00
Ibrahim Muhammad Nada
d11639fd2f fix: Tweak Arabic translations (#2414)
* tweak translations

* commit

* fix الأطفال
2024-10-09 11:13:58 +02:00
Bjarke Berg
08b29856ec Move to top on top due to ar being sorted before bs 2024-10-09 11:13:44 +02:00
Bjarke Berg
716b6b2a62 Added arabic language (I have no clue about the text in the file, btw) 2024-10-09 11:13:38 +02:00
Jacob Overgaard
dca6e811f8 Merge pull request #2430 from umbraco/v15/bugfix/sysinfo-for-everyone
Hotfix: System information should be visible to anyone
2024-10-09 11:04:29 +02:00
Niels Lyngsø
6615c572a3 Merge pull request #2418 from umbraco/v15/hotfix/invariant-preview-url
Hotfix: Invariant preview url
2024-10-09 10:23:45 +02:00
Niels Lyngsø
bb088b54ef Merge pull request #2417 from umbraco/v15/hotfix/document-file-icons
Hotfix: Align templating icons
2024-10-09 10:14:03 +02:00
Niels Lyngsø
bcd8e68880 Merge pull request #2421 from umbraco/v15/hotfix/create-block-variant-inline
Hotfix: Block inline editing — create block variant
2024-10-09 10:10:39 +02:00
Jacob Overgaard
a3511d41e6 feat: add information about the current user 2024-10-09 10:01:43 +02:00
Jacob Overgaard
2293a0e44d chore: fix sonarcloud issues and optimise contexts 2024-10-09 09:54:24 +02:00
Jacob Overgaard
ab35b13e37 fix: the system information button should be visible to anyone 2024-10-09 09:47:57 +02:00
Niels Lyngsø
43016a55b1 Merge branch 'release/15.0' into v15/hotfix/create-block-variant-inline 2024-10-09 08:28:12 +02:00
Jacob Overgaard
610383681b fix: ensure the fallback language en.ts has all of the same variables as the other languages, namely en-us had a few new variables 2024-10-07 15:04:37 +02:00
Jacob Overgaard
90f140f543 chore: fix linting 2024-10-07 14:23:53 +02:00
Jacob Overgaard
c5edde30ee Merge commit from fork
* fix: remove unwanted HTML from translation values

* feat: add a general sanitizeHTML function

* fix: use the `sanitizeHTML` function where values are showed in the Backoffice
2024-10-07 14:23:44 +02:00
Niels Lyngsø
3d3e98dc5b expose methods without variantId 2024-10-07 14:10:01 +02:00