[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyone/assets/js/ -> editor-dark-mode-support.js (summary)

(no description)

File Size: 44 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  twentytwentyoneDarkModeEditorInit()

Functions
Functions that are not part of a class:

twentytwentyoneDarkModeEditorInit( attempt )   X-Ref
Once the editor loads, add the dark mode class.

Wait for the editor to load by periodically checking for an element, then we add the classes.

return: {void}
param: {number} attempt Track the number of tries



Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref