]> BookStack Code Mirror - bookstack/log
bookstack
2 months agoLexical: Added tests to cover recent changes 5558/head
Dan Brown [Fri, 28 Mar 2025 18:29:00 +0000 (18:29 +0000)]
Lexical: Added tests to cover recent changes

Also updated list tests to new test process.

2 months agoLexical: Improved navigation around images/media
Dan Brown [Fri, 28 Mar 2025 14:17:52 +0000 (14:17 +0000)]
Lexical: Improved navigation around images/media

- Added specific handling to move/insert-up/down on arrow press.
- Prevented resize overlay from interrupting image node focus.

2 months agoLexical: Made list selections & intendting more reliable
Dan Brown [Thu, 27 Mar 2025 17:49:48 +0000 (17:49 +0000)]
Lexical: Made list selections & intendting more reliable

- Added handling to not include parent of top-most list range selection
  so that it's not also changed while not visually part of the
  selection range.
- Fixed issue where list items could be left over after unnesting, due
  to empty checks/removals occuring before all child handling.
- Added node sorting, applied to list items during nest operations so
  that selection range remains reliable.

2 months agoLexical: Fixed task list parsing
Dan Brown [Thu, 27 Mar 2025 14:56:32 +0000 (14:56 +0000)]
Lexical: Fixed task list parsing

Updated list DOM parsing to properly consider task list format set by
other MD/WYSIWYG editors.

2 months agoLexical: Fixed issues with content not saving
Dan Brown [Thu, 27 Mar 2025 14:13:18 +0000 (14:13 +0000)]
Lexical: Fixed issues with content not saving

Found that saving via Ctrl+Enter did not save as logic to load editor
output into form was bypassed, which this fixes by ensuring submit
events are raised during for this shortcut.

Submit handling also gets a timeout added since, at least in FF,
requestSubmit did not re-submit a form while in a submit event.

2 months agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Sun, 16 Mar 2025 12:44:42 +0000 (12:44 +0000)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

2 months agoUpdated translator & dependency attribution before release v25.02.1
Dan Brown [Sun, 16 Mar 2025 12:44:29 +0000 (12:44 +0000)]
Updated translator & dependency attribution before release v25.02.1

2 months agoUpdated translations with latest Crowdin changes (#5505)
Dan Brown [Sun, 16 Mar 2025 12:25:53 +0000 (12:25 +0000)]
Updated translations with latest Crowdin changes (#5505)

2 months agoDependancies: Updated PHP composer deps
Dan Brown [Sun, 16 Mar 2025 12:04:19 +0000 (12:04 +0000)]
Dependancies: Updated PHP composer deps

2 months agoRevisions: Hid changes link for oldest revision
Dan Brown [Sun, 16 Mar 2025 11:59:42 +0000 (11:59 +0000)]
Revisions: Hid changes link for oldest revision

Just as a UX improvement to help avoid confusion, as the whole content
will be changes for this revision.

For #5454

2 months agoConfig: Updated DB host to handle ipv6
Dan Brown [Sat, 15 Mar 2025 20:32:57 +0000 (20:32 +0000)]
Config: Updated DB host to handle ipv6

Can be set via the square bracket format.
For #5464

2 months agoSystem CLI: Updated with new version
Dan Brown [Tue, 11 Mar 2025 23:45:26 +0000 (23:45 +0000)]
System CLI: Updated with new version

As per https://codeberg.org/bookstack/system-cli/pulls/21
dev/checksums folder added to support this new system.

Related to #161

3 months agoTesting: Fixed issues during pre-release testing
Dan Brown [Wed, 26 Feb 2025 14:19:03 +0000 (14:19 +0000)]
Testing: Fixed issues during pre-release testing

- Updated locale list
- Fixed new name sorting not being case insensitive
- Updated license test to account for changed deps

3 months agoUpdated translations with latest Crowdin changes (#5409)
Dan Brown [Wed, 26 Feb 2025 13:51:51 +0000 (13:51 +0000)]
Updated translations with latest Crowdin changes (#5409)

3 months agoMeta: Updated licenses and translation attribution pre v25.02
Dan Brown [Wed, 26 Feb 2025 13:44:56 +0000 (13:44 +0000)]
Meta: Updated licenses and translation attribution pre v25.02

3 months agoSorting: Fixes during testing of sort rules
Dan Brown [Mon, 24 Feb 2025 16:58:59 +0000 (16:58 +0000)]
Sorting: Fixes during testing of sort rules

- Fixed name numeric sorting not working as expected due to bad
  comparison.
- Added name numeric desc operation option.
- Added test to ensure each operating has a comparison function.

3 months agoSorting: Updated text for sort rules
Dan Brown [Sun, 23 Feb 2025 14:41:26 +0000 (14:41 +0000)]
Sorting: Updated text for sort rules

Removes 'Set' wording and notes application to books on change.

3 months agoJS: Upated npm deps, upgraded eslint, new eslint config
Dan Brown [Sun, 23 Feb 2025 11:55:09 +0000 (11:55 +0000)]
JS: Upated npm deps, upgraded eslint, new eslint config

Upgraded eslint to 11, removed incompatible airbnb config as part of
process. ESlint config now in its own file.

3 months agoDeps & Tests: Updated PHP deps, fixed test namespaces
Dan Brown [Sun, 23 Feb 2025 11:30:10 +0000 (11:30 +0000)]
Deps & Tests: Updated PHP deps, fixed test namespaces

3 months agoMerge pull request #5491 from BookStackApp/deprecations
Dan Brown [Sun, 23 Feb 2025 11:23:35 +0000 (11:23 +0000)]
Merge pull request #5491 from BookStackApp/deprecations

Addressing PHP 8.4 Deprecations

3 months agoMerge pull request #5463 from BookStackApp/v24-12
Dan Brown [Sun, 23 Feb 2025 11:22:12 +0000 (11:22 +0000)]
Merge pull request #5463 from BookStackApp/v24-12

v24-12 branch changes

3 months agoStyles: Fixed breakpoint overlap
Dan Brown [Sun, 23 Feb 2025 11:19:11 +0000 (11:19 +0000)]
Styles: Fixed breakpoint overlap

Alters common breakpoint utilities to not overlap at breakpoints which
would cause broken layout at those points.
For #5396

3 months agoLDAP: Fixed php type error when no cn provided for user
Dan Brown [Thu, 20 Feb 2025 13:06:49 +0000 (13:06 +0000)]
LDAP: Fixed php type error when no cn provided for user

Changes default fallback for name to first DN part, otherwise the whole
DN, rather than leave as null which was causing a type error.

For #5443

3 months agoPHP: Updated DOMPDF version 5491/head
Dan Brown [Mon, 17 Feb 2025 13:37:58 +0000 (13:37 +0000)]
PHP: Updated DOMPDF version

3 months agoPHP: Addressed 8.4 deprecations within app itself
Dan Brown [Mon, 17 Feb 2025 12:45:37 +0000 (12:45 +0000)]
PHP: Addressed 8.4 deprecations within app itself

3 months agoTests: Updated failing license test
Dan Brown [Mon, 17 Feb 2025 12:07:23 +0000 (12:07 +0000)]
Tests: Updated failing license test

3 months agoMerge pull request #5415 from BookStackApp/more_lexical_fixes
Dan Brown [Sun, 16 Feb 2025 15:28:55 +0000 (15:28 +0000)]
Merge pull request #5415 from BookStackApp/more_lexical_fixes

Further Lexical Fixes

3 months agoLexical: Fixed code in lists, removed extra old alignment code 5415/head
Dan Brown [Sun, 16 Feb 2025 15:09:33 +0000 (15:09 +0000)]
Lexical: Fixed code in lists, removed extra old alignment code

Code in lists could throw error on parse due to inner <code> tag being
parsed but not actually used within a <pre>, so this updates the
importDOM to disregard childdren for code blocks.

This also improves the invariant implementation to not be so
dev/debugger based, and to include vars in the output.

3 months agoTranslations: Fixed a couple of errors in sorting en words
Dan Brown [Sun, 16 Feb 2025 11:27:49 +0000 (11:27 +0000)]
Translations: Fixed a couple of errors in sorting en words

3 months agoMerge pull request #5488 from BookStackApp/search_index_updates
Dan Brown [Fri, 14 Feb 2025 19:39:08 +0000 (19:39 +0000)]
Merge pull request #5488 from BookStackApp/search_index_updates

Search index improvements

3 months agoSearching: Added test for guillemets 5488/head
Dan Brown [Fri, 14 Feb 2025 19:30:25 +0000 (19:30 +0000)]
Searching: Added test for guillemets

To cover #5475

3 months agoMerge branch 'inv-hareesh/development' into search_index_updates
Dan Brown [Fri, 14 Feb 2025 19:25:59 +0000 (19:25 +0000)]
Merge branch 'inv-hareesh/development' into search_index_updates

3 months agoSearching: Added custom tokenizer that considers soft delimiters.
Dan Brown [Fri, 14 Feb 2025 19:01:51 +0000 (19:01 +0000)]
Searching: Added custom tokenizer that considers soft delimiters.

This changes indexing so that a.b now indexes as "a", "b" AND "a.b"
instead of just the first two, for periods and hypens, so terms
containing those characters can be searched within.

Adds hypens as a delimiter - #2095

3 months agoSearching: Split out search tests into their own dir
Dan Brown [Fri, 14 Feb 2025 13:24:39 +0000 (13:24 +0000)]
Searching: Split out search tests into their own dir

3 months agoMerge pull request #5470 from Silverlan/patch-1
Dan Brown [Wed, 12 Feb 2025 18:14:28 +0000 (18:14 +0000)]
Merge pull request #5470 from Silverlan/patch-1

Fix incorrect condition for displaying new books section

3 months agoMeta: Updated dev version and sponsor link
Dan Brown [Tue, 11 Feb 2025 15:52:35 +0000 (15:52 +0000)]
Meta: Updated dev version and sponsor link

3 months agoMerge pull request #5457 from BookStackApp/sort_sets
Dan Brown [Tue, 11 Feb 2025 15:41:19 +0000 (15:41 +0000)]
Merge pull request #5457 from BookStackApp/sort_sets

Sort rules

3 months agoSorting: Updated sort set command, Changed sort timestamp handling 5457/head
Dan Brown [Tue, 11 Feb 2025 15:29:16 +0000 (15:29 +0000)]
Sorting: Updated sort set command, Changed sort timestamp handling

- Renamed AssignSortSetCommand to AssignSortRuleCommand, updated
  contents and testing.
- Updated sorting operations to not update timestamps if only priority
  is changed.

3 months agoSorting: Renamed sort set to sort rule
Dan Brown [Tue, 11 Feb 2025 14:36:25 +0000 (14:36 +0000)]
Sorting: Renamed sort set to sort rule

Renamed based on feedback from Tim and Script on Discord.
Also fixed flaky test

3 months agoSorting: Covered sort set management with tests
Dan Brown [Mon, 10 Feb 2025 17:14:06 +0000 (17:14 +0000)]
Sorting: Covered sort set management with tests

3 months agoSorting: Split out test class, added book autosort tests
Dan Brown [Mon, 10 Feb 2025 13:33:10 +0000 (13:33 +0000)]
Sorting: Split out test class, added book autosort tests

Just for test view, actual functionality of autosort on change still
needs to be tested.

3 months agoSorting: Added tests to cover AssignSortSetCommand
Dan Brown [Sun, 9 Feb 2025 23:24:36 +0000 (23:24 +0000)]
Sorting: Added tests to cover AssignSortSetCommand

3 months agoSorting: Addded command to apply sort sets
Dan Brown [Sun, 9 Feb 2025 17:44:24 +0000 (17:44 +0000)]
Sorting: Addded command to apply sort sets

3 months agoSorting: Added auto sort option to book sort UI
Dan Brown [Sun, 9 Feb 2025 15:16:18 +0000 (15:16 +0000)]
Sorting: Added auto sort option to book sort UI

Includes indicator on books added to sort operation.

3 months agoFix search issue for words inside Guillemets (« ») without spaces 5475/head
inv-hareesh [Fri, 7 Feb 2025 03:29:36 +0000 (08:59 +0530)]
Fix search issue for words inside Guillemets (« ») without spaces

3 months agoSorting: Improved sort set display, delete, added action on edit
Dan Brown [Thu, 6 Feb 2025 14:58:08 +0000 (14:58 +0000)]
Sorting: Improved sort set display, delete, added action on edit

- Changes to a sort set will now auto-apply to assinged books (basic
  chunck through all on save).
- Added book count indicator to sort set list items.
- Deletion now has confirmation and auto-handling of assigned
  books/settings.

3 months agoMeta: Updated sponsor list, licence year and readme
Dan Brown [Wed, 5 Feb 2025 21:17:48 +0000 (21:17 +0000)]
Meta: Updated sponsor list, licence year and readme

3 months agoSorting: Added book autosort logic
Dan Brown [Wed, 5 Feb 2025 16:52:20 +0000 (16:52 +0000)]
Sorting: Added book autosort logic

3 months agoSorting: Connected up default sort setting for books
Dan Brown [Wed, 5 Feb 2025 14:33:46 +0000 (14:33 +0000)]
Sorting: Connected up default sort setting for books

3 months agoSorting: Finished main sort set CRUD work
Dan Brown [Tue, 4 Feb 2025 20:11:35 +0000 (20:11 +0000)]
Sorting: Finished main sort set CRUD work

3 months agoSorting: Added sort set form manager UI JS
Dan Brown [Tue, 4 Feb 2025 15:14:22 +0000 (15:14 +0000)]
Sorting: Added sort set form manager UI JS

Extracted much code to be shared with the shelf books management UI

3 months agoFix incorrect condition for displaying new books section 5470/head
Silverlan [Mon, 3 Feb 2025 18:01:08 +0000 (19:01 +0100)]
Fix incorrect condition for displaying new books section

3 months agoSorting: Started sort set routes and form
Dan Brown [Mon, 3 Feb 2025 16:48:57 +0000 (16:48 +0000)]
Sorting: Started sort set routes and form

3 months agoThumbnails: Fixed thumnail orientation v24-12 5463/head
Dan Brown [Fri, 31 Jan 2025 21:29:38 +0000 (21:29 +0000)]
Thumbnails: Fixed thumnail orientation

Prevents double rotation caused from both our own orientation handling
upon that invervention was auto-applying since v3.

Fixes #5462

3 months agoSorting: Added content misses from last commit, started settings
Dan Brown [Thu, 30 Jan 2025 17:49:19 +0000 (17:49 +0000)]
Sorting: Added content misses from last commit, started settings

3 months agoSorting: Added SortSet model & migration
Dan Brown [Wed, 29 Jan 2025 17:34:07 +0000 (17:34 +0000)]
Sorting: Added SortSet model & migration

3 months agoSorting: Extracted URL sort helper to own class
Dan Brown [Wed, 29 Jan 2025 17:02:34 +0000 (17:02 +0000)]
Sorting: Extracted URL sort helper to own class

Was only used in one place, so didn't make sense to have extra global
helper clutter.

3 months agoSorting: Reorganised book sort code to its own directory
Dan Brown [Wed, 29 Jan 2025 16:40:11 +0000 (16:40 +0000)]
Sorting: Reorganised book sort code to its own directory

4 months agoLexical: Ran a deeper check on translation use
Dan Brown [Mon, 27 Jan 2025 16:40:41 +0000 (16:40 +0000)]
Lexical: Ran a deeper check on translation use

4 months agoLexical: Added media src conversions
Dan Brown [Mon, 27 Jan 2025 14:28:27 +0000 (14:28 +0000)]
Lexical: Added media src conversions

Only actuall added YT in the end.
Google had changed URL scheme, and Vimeo seems to just be something else
now, can't really browse video pages like before.

4 months agoLexical: Linked table form to have caption toggle option
Dan Brown [Wed, 22 Jan 2025 20:39:15 +0000 (20:39 +0000)]
Lexical: Linked table form to have caption toggle option

4 months agoLexical: Added support for table caption nodes
Dan Brown [Wed, 22 Jan 2025 12:54:13 +0000 (12:54 +0000)]
Lexical: Added support for table caption nodes

Needs linking up to the table form still.

4 months agoLexical: Added color picker/indicator to form fields
Dan Brown [Sat, 18 Jan 2025 11:12:43 +0000 (11:12 +0000)]
Lexical: Added color picker/indicator to form fields

4 months agoLexical: Added color format custom color select
Dan Brown [Fri, 17 Jan 2025 11:15:14 +0000 (11:15 +0000)]
Lexical: Added color format custom color select

Includes tracking of selected colors via localstorage for display.

4 months agoLexical: Added some general test guidance
Dan Brown [Wed, 15 Jan 2025 14:31:09 +0000 (14:31 +0000)]
Lexical: Added some general test guidance

Just to help remember the general layout/methods that we've added to
make testing easier.

4 months agoLexical: Fixed auto-link issue
Dan Brown [Wed, 15 Jan 2025 14:15:58 +0000 (14:15 +0000)]
Lexical: Fixed auto-link issue

Added extra test helper to check the editor state directly via string
notation access rather than juggling types/objects to access deep
properties.

4 months agoMerge pull request #5405 from BookStackApp/public_theme_files
Dan Brown [Tue, 14 Jan 2025 14:56:43 +0000 (14:56 +0000)]
Merge pull request #5405 from BookStackApp/public_theme_files

Theme System: Public serving of files

4 months agoThemes: Documented public file serving 5405/head
Dan Brown [Tue, 14 Jan 2025 14:53:10 +0000 (14:53 +0000)]
Themes: Documented public file serving

4 months agoThemes: Added testing and better mime sniffing for public serving
Dan Brown [Mon, 13 Jan 2025 16:51:07 +0000 (16:51 +0000)]
Themes: Added testing and better mime sniffing for public serving

Existing mime sniffer wasn't great at distinguishing between plaintext
file types, so added a custom extension based mapping for common web
formats that may be expected to be used with this.

4 months agoThemes: Added route to serve public theme files
Dan Brown [Mon, 13 Jan 2025 14:30:53 +0000 (14:30 +0000)]
Themes: Added route to serve public theme files

Allows files to be placed within a "public" folder within a theme
directory which the contents of will served by BookStack for access.

- Only "web safe" content-types are provided.
- A static 1 day cache time it set on served files.

For #3904

4 months agoMerge pull request #5400 from BookStackApp/laravel11
Dan Brown [Mon, 13 Jan 2025 13:27:32 +0000 (13:27 +0000)]
Merge pull request #5400 from BookStackApp/laravel11

Laravel 11 Upgrade

4 months agoUpdated translations with latest Crowdin changes (#5399)
Dan Brown [Mon, 13 Jan 2025 13:26:04 +0000 (13:26 +0000)]
Updated translations with latest Crowdin changes (#5399)

4 months agoFramework: Re-add updated patched symfony-mailer 5400/head
Dan Brown [Sat, 11 Jan 2025 15:05:10 +0000 (15:05 +0000)]
Framework: Re-add updated patched symfony-mailer

https://github.com/ssddanbrown/symfony-mailer/commit/e9de8dccd76a63fc23475016e6574da6f5f12a2

4 months agoFramework: Updated phpunit to 11, updated migration test php versions
Dan Brown [Sat, 11 Jan 2025 13:50:01 +0000 (13:50 +0000)]
Framework: Updated phpunit to 11, updated migration test php versions

4 months agoFramework: Fixed Laravel 11 upgrade test issues, updated phpstan
Dan Brown [Sat, 11 Jan 2025 13:22:49 +0000 (13:22 +0000)]
Framework: Fixed Laravel 11 upgrade test issues, updated phpstan

- Fixed failing tests due to Laravel 11 changes
- Updated phpstan to 3.x branch
- Removed some seemingly redundant comment code, which was triggering
  phpstan.

4 months agoFramework: Performed Laravel 11 upgrade guide steps
Dan Brown [Sat, 11 Jan 2025 11:14:49 +0000 (11:14 +0000)]
Framework: Performed Laravel 11 upgrade guide steps

Performed a little code cleanups when observed along the way.
Tested not yet ran.

4 months agoPHP: Updated min version to 8.2
Dan Brown [Thu, 9 Jan 2025 16:46:13 +0000 (16:46 +0000)]
PHP: Updated min version to 8.2

PHPStan config not yet compatible, but should work after moving to Laravel
11, which would allow using larastan 3.x.

4 months agoUpdated translations with latest Crowdin changes (#5370)
Dan Brown [Sat, 4 Jan 2025 21:46:35 +0000 (21:46 +0000)]
Updated translations with latest Crowdin changes (#5370)

4 months agoDeps: Updated composer packages
Dan Brown [Sat, 4 Jan 2025 21:45:36 +0000 (21:45 +0000)]
Deps: Updated composer packages

4 months agoMerge pull request #5379 from BookStackApp/better_cleanup
Dan Brown [Sat, 4 Jan 2025 21:05:45 +0000 (21:05 +0000)]
Merge pull request #5379 from BookStackApp/better_cleanup

Export limits and cleanup

4 months agoMarkdown Editor: Fixed scroll jump on image upload
Dan Brown [Sat, 4 Jan 2025 21:01:28 +0000 (21:01 +0000)]
Markdown Editor: Fixed scroll jump on image upload

For #5384

4 months agoExports: Added rate limits for UI exports 5379/head
Dan Brown [Wed, 1 Jan 2025 15:42:59 +0000 (15:42 +0000)]
Exports: Added rate limits for UI exports

Just as a measure to prevent potential abuse of these potentially
longer-running endpoints.
Adds test to cover for ZIP exports, but applied to all formats.

4 months agoExports: Improved PDF command temp file cleanup
Dan Brown [Wed, 1 Jan 2025 15:19:11 +0000 (15:19 +0000)]
Exports: Improved PDF command temp file cleanup

4 months agoZIP Exports: Improved temp file tracking & clean-up
Dan Brown [Tue, 31 Dec 2024 15:13:50 +0000 (15:13 +0000)]
ZIP Exports: Improved temp file tracking & clean-up

5 months agoUpdated translator & dependency attribution before release v24.12
Dan Brown [Mon, 23 Dec 2024 11:53:35 +0000 (11:53 +0000)]
Updated translator & dependency attribution before release v24.12

5 months agoLocales: Updated locale list with new languages
Dan Brown [Mon, 23 Dec 2024 11:27:58 +0000 (11:27 +0000)]
Locales: Updated locale list with new languages

5 months agoUpdated translations with latest Crowdin changes (#5345)
Dan Brown [Mon, 23 Dec 2024 11:23:44 +0000 (11:23 +0000)]
Updated translations with latest Crowdin changes (#5345)

5 months agoZIP Exports: Prevent book child page drafts from being included
Dan Brown [Sun, 22 Dec 2024 12:43:26 +0000 (12:43 +0000)]
ZIP Exports: Prevent book child page drafts from being included

Added test to cover

5 months agoDependancies: Bumped up composer dep versions
Dan Brown [Sat, 21 Dec 2024 15:48:46 +0000 (15:48 +0000)]
Dependancies: Bumped up composer dep versions

5 months agoMerge pull request #5365 from BookStackApp/lexical_fixes
Dan Brown [Fri, 20 Dec 2024 14:51:57 +0000 (14:51 +0000)]
Merge pull request #5365 from BookStackApp/lexical_fixes

Range of fixes/updates for the new Lexical based editor

5 months agoLexical: Added about button/view lexical_fixes 5365/head
Dan Brown [Tue, 17 Dec 2024 22:40:28 +0000 (22:40 +0000)]
Lexical: Added about button/view

Re-used existing route and moved tinymce help to its own different
route. Added test to cover.
Added new external-content block to support in editor UI.

5 months agoLexical: Adjusted handling of child/sibling list items on nesting
Dan Brown [Tue, 17 Dec 2024 18:07:46 +0000 (18:07 +0000)]
Lexical: Adjusted handling of child/sibling list items on nesting

Sibling/child items will now remain at the same visual level during
nesting/un-nested, so only the selected item level is visually altered.

Also added new model-based editor content matching system for tests.

5 months agoLexical: Aligned new empty item behaviour for nested lists
Dan Brown [Tue, 17 Dec 2024 16:50:03 +0000 (16:50 +0000)]
Lexical: Aligned new empty item behaviour for nested lists

- Makes enter on empty nested list item un-nest instead of just creating
  new list items.
- Also updated existing lists tests to use newer helper setup.

5 months agoLexical: Improved list tab handling, Improved test utils
Dan Brown [Tue, 17 Dec 2024 14:44:10 +0000 (14:44 +0000)]
Lexical: Improved list tab handling, Improved test utils

- Made tab work on empty list items
- Improved select preservation on single list item tab
- Altered test context creation for more standard testing

5 months agoLexical: Added testing for some added shortcuts
Dan Brown [Mon, 16 Dec 2024 16:24:47 +0000 (16:24 +0000)]
Lexical: Added testing for some added shortcuts

Also:
- Added svg loading support (dummy stub) for jest.
- Updated headless test case due to node changes.
- Split out editor change detected to where appropriate.
- Added functions to help with testing, like mocking our context.

5 months agoLexical: Added mulitple methods to escape details block
Dan Brown [Mon, 16 Dec 2024 14:30:06 +0000 (14:30 +0000)]
Lexical: Added mulitple methods to escape details block

Enter on empty last line, or down on last empty line, will focus on the
next node after details, or created a new paragraph to focus on if
needed.

5 months agoLexical: Added details toolbar
Dan Brown [Sun, 15 Dec 2024 18:13:49 +0000 (18:13 +0000)]
Lexical: Added details toolbar

Includes unwrap and toggle open actions.

5 months agoLexical: Made summary part of details node
Dan Brown [Sun, 15 Dec 2024 17:11:02 +0000 (17:11 +0000)]
Lexical: Made summary part of details node

To provide more control of the summary as part of details.
To support, added a way to ignore elements during import DOM, allowing
up to read summaries when parsing details without duplicate nodes
involved.

5 months agoLexical: Adjusted modals and content area for mobile sizes
Dan Brown [Sun, 15 Dec 2024 15:29:00 +0000 (15:29 +0000)]
Lexical: Adjusted modals and content area for mobile sizes

5 months agoLexical: Added mobile toolbar support
Dan Brown [Sun, 15 Dec 2024 14:03:08 +0000 (14:03 +0000)]
Lexical: Added mobile toolbar support

Adds dynamic and fixed (out of DOM order) positioning with location
adjustment depending on space.
Also adds smarter hiding to prevent disappearing when mouse leaves but
within the same space as the toggle.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.