[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> format-library.js (summary)

(no description)

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

Defines 44 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  Icon()
  onToggle()
  onClick()
  onClick()
  InlineUI()
  Edit()
  openModal()
  closeModal()
  onToggle()
  onClick()
  isValidHref()
  createLinkFormat()
  getFormatBoundary()
  walkToBoundary()
  getKey()
  useLinkInstanceKey()
  InlineLinkUI()
  removeLink()
  onChangeLink()
  createButtonText()
  getRichTextValueFromSelection()
  link_Edit()
  addLink()
  stopAddingLink()
  onRemoveFormat()
  onClick()
  parseCSS()
  parseClassName()
  getActiveColors()
  setColors()
  ColorPicker()
  InlineColorUI()
  getComputedStyleProperty()
  fillComputedColors()
  TextColorEdit()
  onToggle()
  onClick()
  onToggle()
  onClick()
  onToggle()
  onClick()

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

getDefault()   X-Ref
No description

getModuleExports()   X-Ref
No description

Icon(_ref)   X-Ref
Return an SVG icon.

return: {JSX.Element}  Icon component
param: {IconProps} props icon is the SVG component to render

onToggle()   X-Ref
No description

onClick()   X-Ref
No description

onClick()   X-Ref
No description

InlineUI(_ref)   X-Ref
No description

Edit(_ref2)   X-Ref
No description

openModal()   X-Ref
No description

closeModal()   X-Ref
No description

onToggle()   X-Ref
No description

onClick()   X-Ref
No description

isValidHref(href)   X-Ref
Check for issues with the provided href.

return: {boolean} Is the href invalid?
param: {string} href The href.

createLinkFormat(_ref)   X-Ref
Generates the format object that will be applied to the link text.

return: {Object} The final format object.
param: {Object}  options
param: {string}  options.url              The href of the link.
param: {string}  options.type             The type of the link.
param: {string}  options.id               The ID of the link.
param: {boolean} options.opensInNewWindow Whether this link will open in a new window.

getFormatBoundary(value, format)   X-Ref
No description

walkToBoundary(formats, initialIndex, targetFormatRef, formatIndex, direction)   X-Ref
Walks forwards/backwards towards the boundary of a given format within an
array of format objects. Returns the index of the boundary.

return: {number} the index of the boundary of the given format.
param: {Array}  formats         the formats to search for the given format type.
param: {number} initialIndex    the starting index from which to walk.
param: {Object} targetFormatRef a reference to the format type object being sought.
param: {number} formatIndex     the index at which we expect the target format object to be.
param: {string} direction       either 'forwards' or 'backwards' to indicate the direction.

getKey(_id)   X-Ref
No description

useLinkInstanceKey(instance)   X-Ref
Builds a unique link control key for the given object reference.

return: {string} the unique key to use for this link control.
param: {Object} instance an unique object reference specific to this link control instance.

InlineLinkUI(_ref)   X-Ref
No description

removeLink()   X-Ref
No description

onChangeLink(nextValue)   X-Ref
No description

createButtonText(searchTerm)   X-Ref
No description

getRichTextValueFromSelection(value, isActive)   X-Ref
No description

link_Edit(_ref)   X-Ref
No description

addLink()   X-Ref
No description

stopAddingLink()   X-Ref
No description

onRemoveFormat()   X-Ref
No description

onClick()   X-Ref
No description

parseCSS()   X-Ref
No description

parseClassName()   X-Ref
No description

getActiveColors(value, name, colorSettings)   X-Ref
No description

setColors(value, name, colorSettings, colors)   X-Ref
No description

ColorPicker(_ref)   X-Ref
No description

InlineColorUI(_ref2)   X-Ref
No description

getComputedStyleProperty(element, property)   X-Ref
No description

fillComputedColors(element, _ref)   X-Ref
No description

TextColorEdit(_ref2)   X-Ref
No description

onToggle()   X-Ref
No description

onClick()   X-Ref
No description

onToggle()   X-Ref
No description

onClick()   X-Ref
No description

onToggle()   X-Ref
No description

onClick()   X-Ref
No description



Generated: Mon Nov 29 01:00:03 2021 Cross-referenced by PHPXref 0.7.1