* Copies the "TinyMCE Stylesheets Property Editor UI" to the Templating/Stylesheet package
* Deprecates the "TinyMCE Stylesheets Property Editor UI"
as it may be used in 3rd party extensions.
TinyMCE will be removed in v16, but this deprecation notice in 15.4
will at least notify that the "Umb.PropertyEditorUi.StylesheetPicker"
UI can be used.
* Updates TinyMCE to use the Stylesheet Picker UI
* Prevent Stylesheet folders from being picked
+ UI tweaks
* Updates Stylesheet mock data
* Stylesheet Rule Input - removes Edit button
uses `@open` event for UI consistency with other pickers.
* Updates pangram
* Amending to be "header" instead of "heading"
* Adds "stylesheets" config to Tiptap data-type
* Updates RTE styles for Tiptap
Moves "StarterKit" styles to the RTE Essentials extension registration.
Scopes TinyMCE in "rte-content.css" (for now).
* Updated permission name due to UI changes
* Added skip to flaky tests
* Add skip to flaky tests
* Bumped version
* Updated content tests due to test helper changes
* Adds Tiptap Toolbar Menu extension kind
a reusable menu component.
Removes the `unique` property for menu-items.
* Implements Font Family as toolbar menu kind
* Implements Font Size as toolbar menu kind
* Implements Style Select as toolbar menu kind
* Implements Table as toolbar menu kind
* Markup amends
* Mock data RTE content addition
* "TextDirection" manifest correction
* Text Align: made to be toggleable
* restructure block list code a bit for better readability
* improve error message
* block list validation
* validation for RTE Blocks
* rte blocks validation
* fix: shows all languages but only lets user click on available languages
same logic as used in publish modal
* fix: only adds "selected" languages to the value output
otherwise the server will not accept values from languages you do not have access to
* mark private properties
* Streamlined Tiptap extension code for consistency
* Corrected `Umb.Kind.TiptapToolbar.Button` manifest
* Simplified the Tiptap placeholder text
* Media Upload: de-duplicated blobUrl
* Simplified CSS
* Sets rendered Image CSS to 100% width rather than adding `width: 100%` to the `<img>` markup/content.
* no need to re-request cause application refreshes when user changes
* implement promise to retrieve languages
* expose on all mandatory languages, to ensure the right mandatory effect
* no need to re-request cause application refreshes when user changes
* implement promise to retrieve languages
* add back the isAuth observable
* Update app-language.context.ts
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* property value preset type
* add version to comment
* move clone controller
* add JSDocs
* sort getByTypeAndFilter
* builder
* updates for extension type
* unit test
* test weight
* dynamic filter depending on situation
* async test
* combine ui and schema test
* make block creation async
* commit todos
* proper deprecation
* value can be undefined
* toggle preset api
* ability to observe and get all languages
* default config field
* change only to expose all Cultures
* Variant Presets
* fix test
* implementation for blocks
* TODO
* improve comment
* implement for ContentTypes
* always set culture and segment for variant values
* only set values that got a value
* todo notes
* also resolve init when createScaffold
* property-value-preset.Slider
* leaving some concept code for another time
* enable undefined
* revert
* sort properties when creating
* refactor into setCurrentData
* refactor to content data manager
* Keep order from persisted data
* refactor to also cover updateCurrent
* add type safety by making persisted partial as well
* lint corrections
* preset for markdown
* refactor to work with frozen data
* implement for MarkDown
* compare based on object properties not object as a whole
* only update persisted data in regards to what was saved
* fix tests
* Initial refactor (pending more tests)
* Fix structural querying across changing publish states + add tests accordingly
* Add tests to validate ancestor and descendant order
* Remove axis querying from published status filtering
---------
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
Changed to be a `Mark`, as `Node`s aren't allowed within paragraphs.
Unregistered the `TextStyle` extension,
as it conflicts with the global `style` attribute feature.
* add trash confirm modal
* make referenceRepo optional + adjust styling
* add referenceRepository to media trash action
* wip entity-item-ref extension point
* clean up
* add ref list element
* fix styling
* Update document-item-ref.element.ts
* move item repo
* implement for input member
* enable action slot
* add null check
* fix sorting again
* fix sorting again
* use member element
* add draft styling back
* move item repository
* implement for user input
* pass readonly and standalone props
* make editPath a state
* Update member-item-ref.element.ts
* Fix user item ref
* remove open button
* remove unused
* remove unused
* check for section permission
* add null check
* change to use entity-item-ref element
* register media item ref
* add fallback element
* show 3 references
* wip data mapper concept
* add unique to modal route registration
* add unique to modal router
* remove unused id
* Update member-item-ref.element.ts
* append unique
* compare with old value
* only recreate the controller if the entity type changes
* fix console warning
* implement for document item ref
* Added $type to ReferenceResponseModels
* move logic to item data resolver
* render draft as a tag
* Update document-item-ref.element.ts
* generate server models
* add more helpers to data resolver
* export resolver
* add observables
* use observables in document item ref
* add data resolver to tree item
* add observable state
* use const
* align models
* get icon from document type object
* observe name and state
* update observed value when a new item is set
* update method name
* update method names
* pass model type
* pass context type
* use api prop instead of context
* use api prop instead of context
* fix types
* use addUniquePaths for modal registration
* add fallback
* use ref list
* use reference items for media
* make mapper name more generic
* make default ref item always readonly
* export types
* temp fake variants array
* add variants array to model
* Update media-references-workspace-info-app.element.ts
* add variants to model
* hardcode fake array
* register media ref item
* update mock data
* dot not allow conditions for data mappers
* add data mapper
* prefix info routes
* prefix all ref routes
* return undefined if there is not edit path
* add types for reference data source + repository
* split trash with relation into its own action
* render descendants with references
* fix length check
* set standalone attribute
* implement for media
* move trash
* wip delete with relation
* move to element
* fix name collision
* require data source identifier
* use management api mapper
* add management api mapper
* fix type errors
* Update index.ts
* align naming
* show references when deleting a document
* Update delete-with-relation-modal.element.ts
* use deleteWithRelation kind for media
* clean up
* localize trash
* fix type
* Update trash-with-relation.action.ts
* override confirm methods in trash and delete actions
* Update index.ts
* export constants
* Limit referenced-by document and media endpoints to references only.
* Update document-reference-table.element.ts
* add methods to get bulk references for documents
* wip bulk trash
* add todo comment
* implement path pattern for media item
* clean up
* more clean up
* sort imports
* member edit path pattern
* clean up
* remove unused variant id
* export extension types
* wip bulk trash with relation
* debounce incoming events
* look up items + notify
* add todo
* temp solution to make it non breaking
* add bulk delete
* better description
* implement methods for are referenced
* change to use bulk trash with relation
* implement delete with relation kind
* deprecation warnings
* move files
* move files
* export const
* use correct kind
* align naming
* upper case Trash
* correct uui-text impl
* add comment about the v2 name
* fix circular depdendencies
* rename const
* split to module
* import global components
* more explicit naming
---------
Co-authored-by: Sven Geusens <sge@umbraco.dk>
Co-authored-by: Andy Butland <abutland73@gmail.com>
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>