0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 13:10:14 +01:00
wagtail/docs
Alex Morega c4ef290859 Explicitly set triggerElement when invoking save (with publish) button on pages
Fixes #11420

Two issues existed;
1. Safari will not set `document.activeElement` as expected in all other browsers, instead, when a button is clicked it will keep the activeElement as `body`. This meant that the reset of the disabled button (before the confirm triggers a click) was not working.
2. Visually the button still had the loading spinner due to w-progress controller having triggered the loading visuals, this did not block the behaviour but looked broken.

See Safari behaviour docs:
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#clicking_and_focus
- https://bugs.webkit.org/show_bug.cgi?id=22261
2024-01-24 08:17:37 +10:00
..
_static Move accessibility checker inside the editor (#11478). Fix #10136 2024-01-23 08:15:34 +00:00
_templates
advanced_topics Move accessibility checker inside the editor (#11478). Fix #10136 2024-01-23 08:15:34 +00:00
contributing Formatting documentation for whitespace fixes 2024-01-21 19:59:57 +10:00
editor_manual
extending Documentation - client-side Stimulus - add detailed integration example 2024-01-23 16:49:47 +00:00
getting_started Update Django intersphinx references to new format 2024-01-21 10:09:21 +10:00
public
reference docs: documented get_children in Page model reference 2024-01-23 07:49:40 +10:00
releases Explicitly set triggerElement when invoking save (with publish) button on pages 2024-01-24 08:17:37 +10:00
topics Update Django intersphinx references to new format 2024-01-21 10:09:21 +10:00
tutorial Formatting documentation for whitespace fixes 2024-01-21 19:59:57 +10:00
autobuild.sh
conf.py Add myst_url_schemes config for external links 2024-01-21 10:09:21 +10:00
favicon.ico
index.rst
logo.png
Makefile
README.md
spelling_wordlist.txt
support.md Remove mention of Wagtail Google group 2023-12-15 11:29:45 +00:00

Wagtail docs

These are Sphinx docs, automatically built at https://docs.wagtail.org when the main branch is committed to GitHub. To build them locally, install Wagtail's development requirements (in the root Wagtail directory):

pip install -e .[testing,docs]

To build the documentation for browsing, from this directory run:

make html

then open _build/html/index.html in a browser.

To rebuild automatically while editing the documentation, from this directory run:

sphinx-autobuild . _build

The online MyST playground at Curvenote or the MyST-Markdown VS Code Extension are helpful tools for working with the MyST syntax.