WordPress/wp-includes/js
hellofromTonya 8c85dde1c6 Editor: Persist preferences in user meta.
Adds a new feature to persist editor UI preferences between page loads and browsers.

* Adds a new preferences persistence API.
* Saves editor preferences in user meta instead of in browser's local storage.

Why?
Due to the transient nature of browser storage, this persistence is not as sticky as it is expected to be, including: switching browsers (unique storage between browsers), or using private browsing tabs (storage cleared between sessions), or the same user across a network of sites (storage unique by domain).

This is a backport from Gutenberg.[https://github.com/WordPress/gutenberg/pull/39795 See WordPress/gutenberg PR 39795].

Props talldanwp, youknowriad, noisysocks, mamaduka, costdev, ironprogrammer, hellofromTonya.
See #56467.
Built from https://develop.svn.wordpress.org/trunk@54182


git-svn-id: http://core.svn.wordpress.org/trunk@53741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-09-15 16:45:40 +00:00
..
codemirror
crop
dist Editor: Persist preferences in user meta. 2022-09-15 16:45:40 +00:00
imgareaselect Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
jcrop External Libraries: Update Jcrop to version 0.9.15. 2022-03-24 20:07:05 +00:00
jquery Build/Test Tools: Update NPM `devDependencies` to their latest versions. 2022-06-27 18:53:29 +00:00
mediaelement Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
plupload Media: revert the multi-mime feature. 2022-09-06 21:13:12 +00:00
swfupload
thickbox Media: Add support for WebP images in the Thickbox library. 2022-05-30 14:53:11 +00:00
tinymce Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
admin-bar.js
admin-bar.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
api-request.js
api-request.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
autosave.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
autosave.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
backbone.js External Libraries: Update some external libraries. 2022-04-12 17:17:22 +00:00
backbone.min.js External Libraries: Update some external libraries. 2022-04-12 17:17:22 +00:00
clipboard.js External Libraries: Update some external libraries. 2022-04-12 17:17:22 +00:00
clipboard.min.js External Libraries: Update some external libraries. 2022-04-12 17:17:22 +00:00
colorpicker.js
colorpicker.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
comment-reply.js
comment-reply.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-base.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
customize-base.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-loader.js
customize-loader.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-models.js
customize-models.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-preview-nav-menus.js
customize-preview-nav-menus.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-preview-widgets.js
customize-preview-widgets.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-preview.js
customize-preview.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-selective-refresh.js
customize-selective-refresh.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-views.js
customize-views.min.js
heartbeat.js Autosave: Compare heartbeat intervals in same unit. 2022-04-20 05:55:06 +00:00
heartbeat.min.js Autosave: Compare heartbeat intervals in same unit. 2022-04-20 05:55:06 +00:00
hoverIntent.js External Libraries: Update jQuery hoverIntent to version 1.10.2. 2022-01-03 15:03:18 +00:00
hoverIntent.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
hoverintent-js.min.js
imagesloaded.min.js
json2.js
json2.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
masonry.min.js
mce-view.js
mce-view.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
media-audiovideo.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
media-audiovideo.min.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
media-editor.js
media-editor.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
media-grid.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
media-grid.min.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
media-models.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
media-models.min.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
media-views.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
media-views.min.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
quicktags.js Editor: Revert [51748] and [51649]. They intorduced a bug where `wp.editor` may be replaced with `wp.oldEditor` in certain cases. 2021-09-08 23:29:58 +00:00
quicktags.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
shortcode.js
shortcode.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
twemoji.js Emoji: Update the Twemoji to version 14.0.2. 2022-04-12 05:56:23 +00:00
twemoji.min.js Emoji: Update the Twemoji to version 14.0.2. 2022-04-12 05:56:23 +00:00
underscore.js External Libraries: Update the Underscore library to version `1.13.4`. 2022-07-05 15:01:25 +00:00
underscore.min.js External Libraries: Update the Underscore library to version `1.13.4`. 2022-07-05 15:01:25 +00:00
utils.js
utils.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-ajax-response.js Administration: Audible messages on AJAX error cases. 2022-07-16 01:08:10 +00:00
wp-ajax-response.min.js Administration: Audible messages on AJAX error cases. 2022-07-16 01:08:10 +00:00
wp-api.js
wp-api.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-auth-check.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-auth-check.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-backbone.js
wp-backbone.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-custom-header.js Customize: Set `playsinline` attribute for custom header videos. 2021-04-10 12:40:05 +00:00
wp-custom-header.min.js Customize: Set `playsinline` attribute for custom header videos. 2021-04-10 12:40:05 +00:00
wp-embed-template.js Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows. 2021-11-11 02:49:18 +00:00
wp-embed-template.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-embed.js Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows. 2021-11-11 02:49:18 +00:00
wp-embed.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-emoji-loader.js Emoji: Update the Twemoji to version 14.0.2. 2022-04-12 05:56:23 +00:00
wp-emoji-loader.min.js Emoji: Update the Twemoji to version 14.0.2. 2022-04-12 05:56:23 +00:00
wp-emoji-release.min.js Emoji: Update the Twemoji to version 14.0.2. 2022-04-12 05:56:23 +00:00
wp-emoji.js
wp-emoji.min.js
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
wp-lists.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-pointer.js
wp-pointer.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-sanitize.js
wp-sanitize.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-util.js Widgets: Avoid a TypeError when adding a widget in the Customizer. 2021-06-25 14:50:58 +00:00
wp-util.min.js Widgets: Avoid a TypeError when adding a widget in the Customizer. 2021-06-25 14:50:58 +00:00
wpdialog.js
wpdialog.min.js
wplink.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wplink.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js