[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

(no description)

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

Defines 420 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  StorageObject()
  _parseArray()
  _parseNumber()
  _parseObject()
  _parseString()
  _parse()
  _classNames()
  classNames()
  _assertThisInitialized()
  ownKeys()
  _objectSpread()
  Icon()
  _iterableToArrayLimit()
  _slicedToArray()
  _objectWithoutProperties()
  _getPrototypeOf()
  _arrayWithoutHoles()
  _nonIterableSpread()
  _toConsumableArray()
  _defineProperties()
  _createClass()
  _classCallCheck()
  _setPrototypeOf()
  _inherits()
  _possibleConstructorReturn()
  _arrayLikeToArray()
  _classCallCheck()
  _defineProperties()
  _createClass()
  _slicedToArray()
  _arrayWithHoles()
  _iterableToArrayLimit()
  _nonIterableRest()
  FastAverageColor()
  _unsupportedIterableToArray()
  _iterableToArray()
  _arrayWithHoles()
  _nonIterableRest()
  _typeof()
  _objectWithoutPropertiesLoose()
  ownKeys()
  _objectSpread()
  edit_ownKeys()
  edit_objectSpread()
  ParagraphRTLToolbar()
  useDropCap()
  ParagraphBlock()
  save_save()
  util_ownKeys()
  util_objectSpread()
  getClassNames()
  util_fallback()
  useClientWidth()
  calculateClientWidth()
  __extends()
  __()
  __rest()
  __decorate()
  __param()
  __metadata()
  __awaiter()
  adopt()
  fulfilled()
  rejected()
  step()
  __generator()
  verb()
  step()
  __exportStar()
  __values()
  __read()
  __spread()
  __spreadArrays()
  __await()
  __asyncGenerator()
  verb()
  resume()
  step()
  fulfill()
  reject()
  settle()
  __asyncDelegator()
  verb()
  __asyncValues()
  verb()
  settle()
  __makeTemplateObject()
  __importStar()
  __importDefault()
  __classPrivateFieldGet()
  __classPrivateFieldSet()
  getCropSize()
  index_module_restrictPosition()
  restrictPositionCoord()
  getDistanceBetweenPoints()
  getRotationBetweenPoints()
  computeCroppedArea()
  limitArea()
  noOp()
  getZoomFromCroppedAreaPixels()
  getInitialCropFromCroppedAreaPixels()
  getCenter()
  rotateAroundMidPoint()
  translateSize()
  index_module_classNames()
  Cropper()
  AspectGroup()
  AspectMenu()
  ImageEditor()
  apply()
  rotate()
  editImage()
  getFilename()
  Image()
  onResizeStart()
  _onResizeStop()
  onImageError()
  onSetHref()
  onSetTitle()
  onFocusCaption()
  onImageClick()
  updateAlt()
  updateImage()
  uploadExternal()
  image_edit_ownKeys()
  image_edit_objectSpread()
  ImageEdit()
  onUploadError()
  onSelectImage()
  onSelectURL()
  updateAlignment()
  image_save_save()
  transforms_ownKeys()
  transforms_objectSpread()
  stripFirstImage()
  getFirstAnchorAttributeFormHTML()
  deprecated_ownKeys()
  deprecated_objectSpread()
  HeadingLevelIcon()
  HeadingLevelDropdown()
  heading_edit_ownKeys()
  heading_edit_objectSpread()
  HeadingEdit()
  heading_save_save()
  getLevelFromHeadingNodeName()
  quote_deprecated_ownKeys()
  quote_deprecated_objectSpread()
  quote_edit_ownKeys()
  quote_edit_objectSpread()
  QuoteEdit()
  quote_save_save()
  quote_transforms_ownKeys()
  quote_transforms_objectSpread()
  quote_ownKeys()
  quote_objectSpread()
  defaultColumnsNumber()
  gallery_deprecated_ownKeys()
  gallery_deprecated_objectSpread()
  _createSuper()
  _isNativeReflectConstruct()
  GalleryImage()
  RichTextVisibilityHelper()
  gallery_edit_ownKeys()
  gallery_edit_objectSpread()
  edit_createSuper()
  edit_isNativeReflectConstruct()
  GalleryEdit()
  gallery_save_save()
  ArchivesEdit()
  AudioEdit()
  toggleAttribute()
  onSelectURL()
  onUploadError()
  getAutoplayHelp()
  onSelectAudio()
  audio_save_save()
  button_deprecated_ownKeys()
  button_deprecated_objectSpread()
  color_edit_ownKeys()
  color_edit_objectSpread()
  getBlockDOMNode()
  ColorPanel()
  ColorEdit()
  getColorAndStyleProps()
  button_edit_ownKeys()
  button_edit_objectSpread()
  BorderPanel()
  URLPicker()
  ButtonEdit()
  save_ownKeys()
  save_objectSpread()
  button_save_save()
  button_ownKeys()
  button_objectSpread()
  ButtonsEdit()
  buttons_save_save()
  calendar_edit_ownKeys()
  calendar_edit_objectSpread()
  calendar_edit_createSuper()
  calendar_edit_isNativeReflectConstruct()
  CalendarEdit()
  categories_edit_createSuper()
  categories_edit_isNativeReflectConstruct()
  CategoriesEdit()
  CodeEdit()
  utils_escape()
  escapeOpeningSquareBrackets()
  escapeProtocolInIsolatedUrls()
  code_save_save()
  columns_deprecated_ownKeys()
  columns_deprecated_objectSpread()
  _createForOfIteratorHelper()
  _unsupportedIterableToArray()
  _arrayLikeToArray()
  getDeprecatedLayoutColumn()
  getEffectiveColumnWidth()
  getTotalColumnsWidth()
  getColumnWidths()
  getRedistributedColumnWidths()
  hasExplicitColumnWidths()
  getMappedColumnWidths()
  ColumnsEditContainer()
  columns_save_save()
  ColumnEdit()
  column_save_save()
  shared_ownKeys()
  shared_objectSpread()
  backgroundImageStyles()
  dimRatioToClass()
  attributesFromMedia()
  getPositionClassName()
  isContentPositionCenter()
  cover_deprecated_ownKeys()
  cover_deprecated_objectSpread()
  cover_edit_ownKeys()
  cover_edit_objectSpread()
  retrieveFastAverageColor()
  CoverHeightInput()
  ResizableCover()
  useCoverIsDark()
  CoverEdit()
  cover_save_save()
  wp_embed_preview_createSuper()
  wp_embed_preview_isNativeReflectConstruct()
  WpEmbedPreview()
  embed_preview_createSuper()
  embed_preview_isNativeReflectConstruct()
  EmbedPreview()
  embed_edit_ownKeys()
  embed_edit_objectSpread()
  edit_getResponsiveHelp()
  getEmbedEditComponent()
  settings_ownKeys()
  settings_objectSpread()
  getEmbedBlockSettings()
  embed_ownKeys()
  embed_objectSpread()
  FileBlockInspector()
  file_edit_createSuper()
  file_edit_isNativeReflectConstruct()
  FileEdit()
  file_save_save()
  html_edit_createSuper()
  html_edit_isNativeReflectConstruct()
  HTMLEdit()
  html_save_save()
  imageFillStyles()
  ResizableBoxContainer()
  ToolbarEditButton()
  PlaceholderContainer()
  MediaContainer()
  media_text_deprecated_ownKeys()
  media_text_deprecated_objectSpread()
  edit_attributesFromMedia()
  MediaTextEdit()
  media_text_save_save()
  latest_comments_edit_createSuper()
  latest_comments_edit_isNativeReflectConstruct()
  LatestComments()
  latest_posts_deprecated_ownKeys()
  latest_posts_deprecated_objectSpread()
  latest_posts_edit_ownKeys()
  latest_posts_edit_objectSpread()
  latest_posts_edit_createSuper()
  latest_posts_edit_isNativeReflectConstruct()
  LatestPostsEdit()
  list_edit_ownKeys()
  list_edit_objectSpread()
  ListEdit()
  list_save_save()
  list_transforms_ownKeys()
  list_transforms_objectSpread()
  getListContentSchema()
  list_ownKeys()
  list_objectSpread()
  MissingBlockWarning()
  missing_save_save()
  more_edit_createSuper()
  more_edit_isNativeReflectConstruct()
  MoreEdit()
  more_save_save()
  NextPageEdit()
  nextpage_save_save()
  PreformattedEdit()
  preformatted_save_save()
  pullquote_deprecated_ownKeys()
  pullquote_deprecated_objectSpread()
  parseBorderColor()
  pullquote_edit_createSuper()
  pullquote_edit_isNativeReflectConstruct()
  PullQuoteEdit()
  pullquote_save_save()
  pullquote_transforms_ownKeys()
  pullquote_transforms_objectSpread()
  edit_panel_createSuper()
  edit_panel_isNativeReflectConstruct()
  ReusableBlockEditPanel()
  block_edit_createSuper()
  block_edit_isNativeReflectConstruct()
  ReusableBlockEdit()
  RSSEdit()
  toggleAttribute()
  onSubmitURL()
  SearchEdit()
  group_deprecated_ownKeys()
  group_deprecated_objectSpread()
  GroupEdit()
  group_save_save()
  SeparatorEdit()
  separatorSave()
  ShortcodeEdit()
  shortcode_save_save()
  spacer_save_save()
  SubheadEdit()
  subhead_save_save()
  state_ownKeys()
  state_objectSpread()
  createTable()
  getFirstRow()
  getCellAttribute()
  updateSelectedCell()
  isCellSelected()
  insertRow()
  deleteRow()
  insertColumn()
  deleteColumn()
  toggleSection()
  isEmptyTableSection()
  isEmptyRow()
  table_edit_ownKeys()
  table_edit_objectSpread()
  table_edit_createSuper()
  table_edit_isNativeReflectConstruct()
  TableEdit()
  table_save_save()
  TextColumnsEdit()
  text_columns_save_save()
  VerseEdit()
  verse_save_save()
  video_edit_createSuper()
  video_edit_isNativeReflectConstruct()
  VideoEdit()
  video_save_save()
  tag_cloud_edit_createSuper()
  tag_cloud_edit_isNativeReflectConstruct()
  TagCloudEdit()
  classic_edit_ownKeys()
  classic_edit_objectSpread()
  classic_edit_createSuper()
  classic_edit_isNativeReflectConstruct()
  isTmceEmpty()
  ClassicEdit()
  classic_save_save()
  SocialLinksEdit()
  social_links_save_save()
  _defineProperty()
  memize()
  memoized()
  tinycolor()
  inputToRGB()
  rgbToRgb()
  rgbToHsl()
  hslToRgb()
  hue2rgb()
  rgbToHsv()
  hsvToRgb()
  rgbToHex()
  rgbaToHex()
  rgbaToArgbHex()
  desaturate()
  saturate()
  greyscale()
  lighten()
  brighten()
  darken()
  spin()
  complement()
  triad()
  tetrad()
  splitcomplement()
  analogous()
  monochromatic()
  flip()
  boundAlpha()
  bound01()
  clamp01()
  parseIntFromHex()
  isOnePointZero()
  isPercentage()
  pad2()
  convertToPercentage()
  convertDecimalToHex()
  convertHexToDecimal()
  isValidCSSUnit()
  stringInputToObject()
  validateWCAG2Parms()
  _extends()

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

StorageObject()   X-Ref
No description

_parseArray(resultSet, array)   X-Ref
No description

_parseNumber(resultSet, num)   X-Ref
No description

_parseObject(resultSet, object)   X-Ref
No description

_parseString(resultSet, str)   X-Ref
No description

_parse(resultSet, arg)   X-Ref
No description

_classNames()   X-Ref
No description

classNames()   X-Ref
No description

_assertThisInitialized(self)   X-Ref
No description

ownKeys(object, enumerableOnly)   X-Ref
No description

_objectSpread(target)   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

_iterableToArrayLimit(arr, i)   X-Ref
No description

_slicedToArray(arr, i)   X-Ref
No description

_objectWithoutProperties(source, excluded)   X-Ref
No description

_getPrototypeOf(o)   X-Ref
No description

_arrayWithoutHoles(arr)   X-Ref
No description

_nonIterableSpread()   X-Ref
No description

_toConsumableArray(arr)   X-Ref
No description

_defineProperties(target, props)   X-Ref
No description

_createClass(Constructor, protoProps, staticProps)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_setPrototypeOf(o, p)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_arrayLikeToArray(arr, len)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_defineProperties(target, props)   X-Ref
No description

_createClass(Constructor, protoProps, staticProps)   X-Ref
No description

_slicedToArray(arr, i)   X-Ref
No description

_arrayWithHoles(arr)   X-Ref
No description

_iterableToArrayLimit(arr, i)   X-Ref
No description

_nonIterableRest()   X-Ref
No description

FastAverageColor()   X-Ref
No description

_unsupportedIterableToArray(o, minLen)   X-Ref
No description

_iterableToArray(iter)   X-Ref
No description

_arrayWithHoles(arr)   X-Ref
No description

_nonIterableRest()   X-Ref
No description

_typeof(obj)   X-Ref
No description

_objectWithoutPropertiesLoose(source, excluded)   X-Ref
No description

ownKeys(object, enumerableOnly)   X-Ref
No description

_objectSpread(target)   X-Ref
No description

edit_ownKeys(object, enumerableOnly)   X-Ref
No description

edit_objectSpread(target)   X-Ref
No description

ParagraphRTLToolbar(_ref)   X-Ref
No description

useDropCap(isDropCap, fontSize, styleFontSize)   X-Ref
No description

ParagraphBlock(_ref2)   X-Ref
No description

save_save(_ref)   X-Ref
WordPress dependencies


util_ownKeys(object, enumerableOnly)   X-Ref
No description

util_objectSpread(target)   X-Ref
No description

getClassNames(html)   X-Ref
Returns class names with any relevant responsive aspect ratio names.

return: {string} Deduped class names.
param: {string}  html               The preview HTML that possibly contains an iframe with width and height set.
param: {string}  existingClassNames Any existing class names.
param: {boolean} allowResponsive    If the responsive class names should be added, or removed.

util_fallback(url, onReplace)   X-Ref
Fallback behaviour for unembeddable URLs.
Creates a paragraph block containing a link to the URL, and calls `onReplace`.

param: {string}   url       The URL that could not be embedded.
param: {Function} onReplace Function to call with the created fallback block.

useClientWidth(ref, dependencies)   X-Ref
WordPress dependencies


calculateClientWidth()   X-Ref
No description

__extends(d, b)   X-Ref
No description

__()   X-Ref
No description

__rest(s, e)   X-Ref
No description

__decorate(decorators, target, key, desc)   X-Ref
No description

__param(paramIndex, decorator)   X-Ref
No description

__metadata(metadataKey, metadataValue)   X-Ref
No description

__awaiter(thisArg, _arguments, P, generator)   X-Ref
No description

adopt(value)   X-Ref
No description

fulfilled(value)   X-Ref
No description

rejected(value)   X-Ref
No description

step(result)   X-Ref
No description

__generator(thisArg, body)   X-Ref
No description

verb(n)   X-Ref
No description

step(op)   X-Ref
No description

__exportStar(m, exports)   X-Ref
No description

__values(o)   X-Ref
No description

__read(o, n)   X-Ref
No description

__spread()   X-Ref
No description

__spreadArrays()   X-Ref
No description

__await(v)   X-Ref
No description

__asyncGenerator(thisArg, _arguments, generator)   X-Ref
No description

verb(n)   X-Ref
No description

resume(n, v)   X-Ref
No description

step(r)   X-Ref
No description

fulfill(value)   X-Ref
No description

reject(value)   X-Ref
No description

settle(f, v)   X-Ref
No description

__asyncDelegator(o)   X-Ref
No description

verb(n, f)   X-Ref
No description

__asyncValues(o)   X-Ref
No description

verb(n)   X-Ref
No description

settle(resolve, reject, d, v)   X-Ref
No description

__makeTemplateObject(cooked, raw)   X-Ref
No description

__importStar(mod)   X-Ref
No description

__importDefault(mod)   X-Ref
No description

__classPrivateFieldGet(receiver, privateMap)   X-Ref
No description

__classPrivateFieldSet(receiver, privateMap, value)   X-Ref
No description

getCropSize(mediaWidth, mediaHeight, containerWidth, containerHeight, aspect, rotation)   X-Ref
Compute the dimension of the crop area based on media size,
aspect ratio and optionally rotation


index_module_restrictPosition(position, mediaSize, cropSize, zoom, rotation)   X-Ref
Ensure a new media position stays in the crop area.


restrictPositionCoord(position, mediaSize, cropSize, zoom)   X-Ref
No description

getDistanceBetweenPoints(pointA, pointB)   X-Ref
No description

getRotationBetweenPoints(pointA, pointB)   X-Ref
No description

computeCroppedArea(crop, mediaSize, cropSize, aspect, zoom, rotation, restrictPosition)   X-Ref
Compute the output cropped area of the media in percentages and pixels.
x/y are the top-left coordinates on the src media


limitArea(max, value)   X-Ref
Ensure the returned value is between 0 and max


noOp(_max, value)   X-Ref
No description

getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize)   X-Ref
Compute the crop and zoom from the croppedAreaPixels


getInitialCropFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize)   X-Ref
Compute the crop and zoom from the croppedAreaPixels


getCenter(a, b)   X-Ref
Return the point that is the center of point a and b


rotateAroundMidPoint(x, y, xMid, yMid, degrees)   X-Ref
Returns an x,y point once rotated around xMid,yMid


translateSize(width, height, rotation)   X-Ref
Returns the new bounding area of a rotated rectangle.


index_module_classNames()   X-Ref
Combine multiple class names into a single string.


Cropper()   X-Ref
No description

AspectGroup(_ref)   X-Ref
No description

AspectMenu(_ref3)   X-Ref
No description

ImageEditor(_ref5)   X-Ref
No description

apply()   X-Ref
No description

rotate()   X-Ref
No description

editImage(event)   X-Ref
No description

getFilename(url)   X-Ref
No description

Image(_ref)   X-Ref
No description

onResizeStart()   X-Ref
No description

_onResizeStop()   X-Ref
No description

onImageError()   X-Ref
No description

onSetHref(props)   X-Ref
No description

onSetTitle(value)   X-Ref
No description

onFocusCaption()   X-Ref
No description

onImageClick()   X-Ref
No description

updateAlt(newAlt)   X-Ref
No description

updateImage(newSizeSlug)   X-Ref
No description

uploadExternal()   X-Ref
No description

image_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

image_edit_objectSpread(target)   X-Ref
No description

ImageEdit(_ref)   X-Ref
No description

onUploadError(message)   X-Ref
No description

onSelectImage(media)   X-Ref
No description

onSelectURL(newURL)   X-Ref
No description

updateAlignment(nextAlign)   X-Ref
No description

image_save_save(_ref)   X-Ref
WordPress dependencies


transforms_ownKeys(object, enumerableOnly)   X-Ref
No description

transforms_objectSpread(target)   X-Ref
No description

stripFirstImage(attributes, _ref)   X-Ref
WordPress dependencies


getFirstAnchorAttributeFormHTML(html, attributeName)   X-Ref
No description

deprecated_ownKeys(object, enumerableOnly)   X-Ref
No description

deprecated_objectSpread(target)   X-Ref
No description

HeadingLevelIcon(_ref)   X-Ref
Heading level icon.

return: {?WPComponent} The icon.
param: {WPHeadingLevelIconProps} props Component props.

HeadingLevelDropdown(_ref)   X-Ref
Dropdown for selecting a heading level (1 through 6).

return: {WPComponent} The toolbar.
param: {WPHeadingLevelDropdownProps} props Component props.

heading_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

heading_edit_objectSpread(target)   X-Ref
No description

HeadingEdit(_ref)   X-Ref
No description

heading_save_save(_ref)   X-Ref
WordPress dependencies


getLevelFromHeadingNodeName(nodeName)   X-Ref
Given a node name string for a heading node, returns its numeric level.

return: {number} Heading level.
param: {string} nodeName Heading node name.

quote_deprecated_ownKeys(object, enumerableOnly)   X-Ref
No description

quote_deprecated_objectSpread(target)   X-Ref
No description

quote_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

quote_edit_objectSpread(target)   X-Ref
No description

QuoteEdit(_ref)   X-Ref
No description

quote_save_save(_ref)   X-Ref
WordPress dependencies


quote_transforms_ownKeys(object, enumerableOnly)   X-Ref
No description

quote_transforms_objectSpread(target)   X-Ref
No description

quote_ownKeys(object, enumerableOnly)   X-Ref
No description

quote_objectSpread(target)   X-Ref
No description

defaultColumnsNumber(attributes)   X-Ref
External dependencies


gallery_deprecated_ownKeys(object, enumerableOnly)   X-Ref
No description

gallery_deprecated_objectSpread(target)   X-Ref
No description

_createSuper(Derived)   X-Ref
No description

_isNativeReflectConstruct()   X-Ref
No description

GalleryImage()   X-Ref
No description

RichTextVisibilityHelper(_ref)   X-Ref
No description

gallery_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

gallery_edit_objectSpread(target)   X-Ref
No description

edit_createSuper(Derived)   X-Ref
No description

edit_isNativeReflectConstruct()   X-Ref
No description

GalleryEdit()   X-Ref
No description

gallery_save_save(_ref)   X-Ref
Internal dependencies


ArchivesEdit(_ref)   X-Ref
No description

AudioEdit(_ref)   X-Ref
No description

toggleAttribute(attribute)   X-Ref
No description

onSelectURL(newSrc)   X-Ref
No description

onUploadError(message)   X-Ref
No description

getAutoplayHelp(checked)   X-Ref
No description

onSelectAudio(media)   X-Ref
No description

audio_save_save(_ref)   X-Ref
WordPress dependencies


button_deprecated_ownKeys(object, enumerableOnly)   X-Ref
No description

button_deprecated_objectSpread(target)   X-Ref
No description

color_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

color_edit_objectSpread(target)   X-Ref
No description

getBlockDOMNode(clientId)   X-Ref
No description

ColorPanel(_ref)   X-Ref
No description

ColorEdit(props)   X-Ref
Inspector control panel containing the color related configuration

return: {WPElement} Color edit element.
param: {Object} props

getColorAndStyleProps(attributes, colors)   X-Ref
No description

button_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

button_edit_objectSpread(target)   X-Ref
No description

BorderPanel(_ref)   X-Ref
No description

URLPicker(_ref2)   X-Ref
No description

ButtonEdit(props)   X-Ref
No description

save_ownKeys(object, enumerableOnly)   X-Ref
No description

save_objectSpread(target)   X-Ref
No description

button_save_save(_ref)   X-Ref
Internal dependencies


button_ownKeys(object, enumerableOnly)   X-Ref
No description

button_objectSpread(target)   X-Ref
No description

ButtonsEdit()   X-Ref
No description

buttons_save_save()   X-Ref
WordPress dependencies


calendar_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

calendar_edit_objectSpread(target)   X-Ref
No description

calendar_edit_createSuper(Derived)   X-Ref
No description

calendar_edit_isNativeReflectConstruct()   X-Ref
No description

CalendarEdit()   X-Ref
No description

categories_edit_createSuper(Derived)   X-Ref
No description

categories_edit_isNativeReflectConstruct()   X-Ref
No description

CategoriesEdit()   X-Ref
No description

CodeEdit(_ref)   X-Ref
Internal dependencies


utils_escape(content)   X-Ref
Escapes ampersands, shortcodes, and links.

return: {string} The given content with some characters escaped.
param: {string} content The content of a code block.

escapeOpeningSquareBrackets(content)   X-Ref
Returns the given content with all opening shortcode characters converted
into their HTML entity counterpart (i.e. [ => [). For instance, a
shortcode like [embed] becomes [embed]

This function replicates the escaping of HTML tags, where a tag like
<strong> becomes &lt;strong>.

return: {string} The given content with its opening shortcode characters
param: {string}  content The content of a code block.

escapeProtocolInIsolatedUrls(content)   X-Ref
Converts the first two forward slashes of any isolated URL into their HTML
counterparts (i.e. // => &#47;&#47;). For instance, https://youtube.com/watch?x
becomes https:&#47;&#47;youtube.com/watch?x.

An isolated URL is a URL that sits in its own line, surrounded only by spacing
characters.

See https://github.com/WordPress/wordpress-develop/blob/5.1.1/src/wp-includes/class-wp-embed.php#L403

return: {string} The given content with its ampersands converted into
param: {string}  content The content of a code block.

code_save_save(_ref)   X-Ref
Internal dependencies


columns_deprecated_ownKeys(object, enumerableOnly)   X-Ref
No description

columns_deprecated_objectSpread(target)   X-Ref
No description

_createForOfIteratorHelper(o)   X-Ref
No description

_unsupportedIterableToArray(o, minLen)   X-Ref
No description

_arrayLikeToArray(arr, len)   X-Ref
No description

getDeprecatedLayoutColumn(originalContent)   X-Ref
Given an HTML string for a deprecated columns inner block, returns the
column index to which the migrated inner block should be assigned. Returns
undefined if the inner block was not assigned to a column.

return: {?number} Column to which inner block is to be assigned.
param: {string} originalContent Deprecated Columns inner block HTML.

getEffectiveColumnWidth(block, totalBlockCount)   X-Ref
Returns an effective width for a given block. An effective width is equal to
its attribute value if set, or a computed value assuming equal distribution.

return: {number} Effective column width.
param: {WPBlock} block           Block object.
param: {number}  totalBlockCount Total number of blocks in Columns.

getTotalColumnsWidth(blocks)   X-Ref
Returns the total width occupied by the given set of column blocks.

return: {number} Total width occupied by blocks.
param: {WPBlock[]} blocks          Block objects.
param: {?number}   totalBlockCount Total number of blocks in Columns.

getColumnWidths(blocks)   X-Ref
Returns an object of `clientId` → `width` of effective column widths.

return: {Object<string,number>} Column widths.
param: {WPBlock[]} blocks          Block objects.
param: {?number}   totalBlockCount Total number of blocks in Columns.

getRedistributedColumnWidths(blocks, availableWidth)   X-Ref
Returns an object of `clientId` → `width` of column widths as redistributed
proportional to their current widths, constrained or expanded to fit within
the given available width.

return: {Object<string,number>} Redistributed column widths.
param: {WPBlock[]} blocks          Block objects.
param: {number}    availableWidth  Maximum width to fit within.
param: {?number}   totalBlockCount Total number of blocks in Columns.

hasExplicitColumnWidths(blocks)   X-Ref
Returns true if column blocks within the provided set are assigned with
explicit widths, or false otherwise.

return: {boolean} Whether columns have explicit widths.
param: {WPBlock[]} blocks Block objects.

getMappedColumnWidths(blocks, widths)   X-Ref
Returns a copy of the given set of blocks with new widths assigned from the
provided object of redistributed column widths.

return: {WPBlock[]} blocks Mapped block objects.
param: {WPBlock[]}             blocks Block objects.
param: {Object<string,number>} widths Redistributed column widths.

ColumnsEditContainer(_ref)   X-Ref
No description

columns_save_save(_ref)   X-Ref
WordPress dependencies


ColumnEdit(_ref)   X-Ref
No description

column_save_save(_ref)   X-Ref
WordPress dependencies


shared_ownKeys(object, enumerableOnly)   X-Ref
No description

shared_objectSpread(target)   X-Ref
No description

backgroundImageStyles(url)   X-Ref
No description

dimRatioToClass(ratio)   X-Ref
No description

attributesFromMedia(setAttributes)   X-Ref
No description

getPositionClassName(contentPosition)   X-Ref
No description

isContentPositionCenter(contentPosition)   X-Ref
No description

cover_deprecated_ownKeys(object, enumerableOnly)   X-Ref
No description

cover_deprecated_objectSpread(target)   X-Ref
No description

cover_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

cover_edit_objectSpread(target)   X-Ref
No description

retrieveFastAverageColor()   X-Ref
No description

CoverHeightInput(_ref)   X-Ref
No description

ResizableCover(_ref2)   X-Ref
No description

useCoverIsDark(url)   X-Ref
useCoverIsDark is a hook that returns a boolean variable specifying if the cover
background is dark or not.

return: {boolean} True if the cover background is considered "dark" and false otherwise.
param: {?string} url          Url of the media background.
param: {?number} dimRatio     Transparency of the overlay color. If an image and
param: {?string} overlayColor String containing the overlay color value if one exists.
param: {?Object} elementRef   If a media background is set, elementRef should contain a reference to a

CoverEdit(_ref3)   X-Ref
No description

cover_save_save(_ref)   X-Ref
Internal dependencies


wp_embed_preview_createSuper(Derived)   X-Ref
No description

wp_embed_preview_isNativeReflectConstruct()   X-Ref
No description

WpEmbedPreview()   X-Ref
No description

embed_preview_createSuper(Derived)   X-Ref
No description

embed_preview_isNativeReflectConstruct()   X-Ref
No description

EmbedPreview()   X-Ref
No description

embed_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

embed_edit_objectSpread(target)   X-Ref
No description

edit_getResponsiveHelp(checked)   X-Ref
No description

getEmbedEditComponent(title, icon)   X-Ref
No description

settings_ownKeys(object, enumerableOnly)   X-Ref

return: {Object} Attributes derived from the preview, merged with the current attributes.

settings_objectSpread(target)   X-Ref
No description

getEmbedBlockSettings(_ref)   X-Ref
No description

embed_ownKeys(object, enumerableOnly)   X-Ref
No description

embed_objectSpread(target)   X-Ref
No description

FileBlockInspector(_ref)   X-Ref
No description

file_edit_createSuper(Derived)   X-Ref
No description

file_edit_isNativeReflectConstruct()   X-Ref
No description

FileEdit()   X-Ref
No description

file_save_save(_ref)   X-Ref
WordPress dependencies


html_edit_createSuper(Derived)   X-Ref
No description

html_edit_isNativeReflectConstruct()   X-Ref
No description

HTMLEdit()   X-Ref
No description

html_save_save(_ref)   X-Ref
WordPress dependencies


imageFillStyles(url, focalPoint)   X-Ref
Constants


ResizableBoxContainer(_ref)   X-Ref
No description

ToolbarEditButton(_ref2)   X-Ref
No description

PlaceholderContainer(_ref3)   X-Ref
No description

MediaContainer(props)   X-Ref
No description

media_text_deprecated_ownKeys(object, enumerableOnly)   X-Ref
No description

media_text_deprecated_objectSpread(target)   X-Ref
No description

edit_attributesFromMedia(_ref)   X-Ref
No description

MediaTextEdit(_ref2)   X-Ref
No description

media_text_save_save(_ref)   X-Ref
No description

latest_comments_edit_createSuper(Derived)   X-Ref
No description

latest_comments_edit_isNativeReflectConstruct()   X-Ref
No description

LatestComments()   X-Ref
No description

latest_posts_deprecated_ownKeys(object, enumerableOnly)   X-Ref
No description

latest_posts_deprecated_objectSpread(target)   X-Ref
No description

latest_posts_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

latest_posts_edit_objectSpread(target)   X-Ref
No description

latest_posts_edit_createSuper(Derived)   X-Ref
No description

latest_posts_edit_isNativeReflectConstruct()   X-Ref
No description

LatestPostsEdit()   X-Ref
No description

list_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

list_edit_objectSpread(target)   X-Ref
No description

ListEdit(_ref)   X-Ref
No description

list_save_save(_ref)   X-Ref
WordPress dependencies


list_transforms_ownKeys(object, enumerableOnly)   X-Ref
No description

list_transforms_objectSpread(target)   X-Ref
No description

getListContentSchema(_ref)   X-Ref
No description

list_ownKeys(object, enumerableOnly)   X-Ref
No description

list_objectSpread(target)   X-Ref
No description

MissingBlockWarning(_ref)   X-Ref
No description

missing_save_save(_ref)   X-Ref
WordPress dependencies


more_edit_createSuper(Derived)   X-Ref
No description

more_edit_isNativeReflectConstruct()   X-Ref
No description

MoreEdit()   X-Ref
No description

more_save_save(_ref)   X-Ref
WordPress dependencies


NextPageEdit()   X-Ref
WordPress dependencies


nextpage_save_save()   X-Ref
WordPress dependencies


PreformattedEdit(_ref)   X-Ref
WordPress dependencies


preformatted_save_save(_ref)   X-Ref
WordPress dependencies


pullquote_deprecated_ownKeys(object, enumerableOnly)   X-Ref
No description

pullquote_deprecated_objectSpread(target)   X-Ref
No description

parseBorderColor(styleString)   X-Ref
No description

pullquote_edit_createSuper(Derived)   X-Ref
No description

pullquote_edit_isNativeReflectConstruct()   X-Ref
No description

PullQuoteEdit(props)   X-Ref
No description

pullquote_save_save(_ref)   X-Ref
Internal dependencies


pullquote_transforms_ownKeys(object, enumerableOnly)   X-Ref
No description

pullquote_transforms_objectSpread(target)   X-Ref
No description

edit_panel_createSuper(Derived)   X-Ref
No description

edit_panel_isNativeReflectConstruct()   X-Ref
No description

ReusableBlockEditPanel()   X-Ref
No description

block_edit_createSuper(Derived)   X-Ref
No description

block_edit_isNativeReflectConstruct()   X-Ref
No description

ReusableBlockEdit(_ref)   X-Ref
No description

RSSEdit(_ref)   X-Ref
No description

toggleAttribute(propName)   X-Ref
No description

onSubmitURL(event)   X-Ref
No description

SearchEdit(_ref)   X-Ref
WordPress dependencies


group_deprecated_ownKeys(object, enumerableOnly)   X-Ref
No description

group_deprecated_objectSpread(target)   X-Ref
No description

GroupEdit(_ref)   X-Ref
No description

group_save_save(_ref)   X-Ref
WordPress dependencies


SeparatorEdit(_ref)   X-Ref
No description

separatorSave(_ref)   X-Ref
WordPress dependencies


ShortcodeEdit(_ref)   X-Ref
No description

shortcode_save_save(_ref)   X-Ref
WordPress dependencies


spacer_save_save(_ref)   X-Ref
No description

SubheadEdit(_ref)   X-Ref
No description

subhead_save_save(_ref)   X-Ref
WordPress dependencies


state_ownKeys(object, enumerableOnly)   X-Ref
No description

state_objectSpread(target)   X-Ref
No description

createTable(_ref)   X-Ref
Creates a table state.

return: {Object} New table state.
param: {Object} options
param: {number} options.rowCount    Row count for the table to create.
param: {number} options.columnCount Column count for the table to create.

getFirstRow(state)   X-Ref
Returns the first row in the table.

return: {Object} The first table row.
param: {Object} state Current table state.

getCellAttribute(state, cellLocation, attributeName)   X-Ref
Gets an attribute for a cell.

return: {*} The attribute value.
param: {Object} state          Current table state.
param: {Object} cellLocation  The location of the cell
param: {string} attributeName The name of the attribute to get the value of.

updateSelectedCell(state, selection, updateCell)   X-Ref
Returns updated cell attributes after applying the `updateCell` function to the selection.

return: {Object} New table state including the updated cells.
param: {Object}   state      The block attributes.
param: {Object}   selection  The selection of cells to update.
param: {Function} updateCell A function to update the selected cell attributes.

isCellSelected(cellLocation, selection)   X-Ref
Returns whether the cell at `cellLocation` is included in the selection `selection`.

return: {boolean} True if the cell is selected, false otherwise.
param: {Object} cellLocation An object containing cell location properties.
param: {Object} selection    An object containing selection properties.

insertRow(state, _ref2)   X-Ref
Inserts a row in the table state.

return: {Object} New table state.
param: {Object} state               Current table state.
param: {Object} options
param: {string} options.sectionName Section in which to insert the row.
param: {number} options.rowIndex    Row index at which to insert the row.
param: {number} options.columnCount Column count for the table to create.

deleteRow(state, _ref4)   X-Ref
Deletes a row from the table state.

return: {Object} New table state.
param: {Object} state               Current table state.
param: {Object} options
param: {string} options.sectionName Section in which to delete the row.
param: {number} options.rowIndex    Row index to delete.

insertColumn(state, _ref6)   X-Ref
Inserts a column in the table state.

return: {Object} New table state.
param: {Object} state               Current table state.
param: {Object} options
param: {number} options.columnIndex Column index at which to insert the column.

deleteColumn(state, _ref7)   X-Ref
Deletes a column from the table state.

return: {Object} New table state.
param: {Object} state               Current table state.
param: {Object} options
param: {number} options.columnIndex Column index to delete.

toggleSection(state, sectionName)   X-Ref
Toggles the existance of a section.

return: {Object} New table state.
param: {Object} state       Current table state.
param: {string} sectionName Name of the section to toggle.

isEmptyTableSection(section)   X-Ref
Determines whether a table section is empty.

return: {boolean} True if the table section is empty, false otherwise.
param: {Object} section Table section state.

isEmptyRow(row)   X-Ref
Determines whether a table row is empty.

return: {boolean} True if the table section is empty, false otherwise.
param: {Object} row Table row state.

table_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

table_edit_objectSpread(target)   X-Ref
No description

table_edit_createSuper(Derived)   X-Ref
No description

table_edit_isNativeReflectConstruct()   X-Ref
No description

TableEdit()   X-Ref
No description

table_save_save(_ref)   X-Ref
WordPress dependencies


TextColumnsEdit(_ref)   X-Ref
No description

text_columns_save_save(_ref)   X-Ref
WordPress dependencies


VerseEdit(_ref)   X-Ref
No description

verse_save_save(_ref)   X-Ref
WordPress dependencies


video_edit_createSuper(Derived)   X-Ref
No description

video_edit_isNativeReflectConstruct()   X-Ref
No description

VideoEdit()   X-Ref
No description

video_save_save(_ref)   X-Ref
WordPress dependencies


tag_cloud_edit_createSuper(Derived)   X-Ref
No description

tag_cloud_edit_isNativeReflectConstruct()   X-Ref
No description

TagCloudEdit()   X-Ref
No description

classic_edit_ownKeys(object, enumerableOnly)   X-Ref
No description

classic_edit_objectSpread(target)   X-Ref
No description

classic_edit_createSuper(Derived)   X-Ref
No description

classic_edit_isNativeReflectConstruct()   X-Ref
No description

isTmceEmpty(editor)   X-Ref
No description

ClassicEdit(props)   X-Ref
No description

classic_save_save(_ref)   X-Ref
WordPress dependencies


SocialLinksEdit()   X-Ref
No description

social_links_save_save(_ref)   X-Ref
WordPress dependencies


_defineProperty(obj, key, value)   X-Ref
No description

memize( fn, options )   X-Ref
Accepts a function to be memoized, and returns a new memoized function, with
optional options.

return: {F & MemizeMemoizedFunction} Memoized function.
param: {F}             fn        Function to memoize.
param: {MemizeOptions} [options] Options object.

memoized( )   X-Ref
No description

tinycolor(color, opts)   X-Ref
No description

inputToRGB(color)   X-Ref
No description

rgbToRgb(r, g, b)   X-Ref
No description

rgbToHsl(r, g, b)   X-Ref
No description

hslToRgb(h, s, l)   X-Ref
No description

hue2rgb(p, q, t)   X-Ref
No description

rgbToHsv(r, g, b)   X-Ref
No description

hsvToRgb(h, s, v)   X-Ref
No description

rgbToHex(r, g, b, allow3Char)   X-Ref
No description

rgbaToHex(r, g, b, a, allow4Char)   X-Ref
No description

rgbaToArgbHex(r, g, b, a)   X-Ref
No description

desaturate(color, amount)   X-Ref
No description

saturate(color, amount)   X-Ref
No description

greyscale(color)   X-Ref
No description

lighten(color, amount)   X-Ref
No description

brighten(color, amount)   X-Ref
No description

darken(color, amount)   X-Ref
No description

spin(color, amount)   X-Ref
No description

complement(color)   X-Ref
No description

triad(color)   X-Ref
No description

tetrad(color)   X-Ref
No description

splitcomplement(color)   X-Ref
No description

analogous(color, results, slices)   X-Ref
No description

monochromatic(color, results)   X-Ref
No description

flip(o)   X-Ref
No description

boundAlpha(a)   X-Ref
No description

bound01(n, max)   X-Ref
No description

clamp01(val)   X-Ref
No description

parseIntFromHex(val)   X-Ref
No description

isOnePointZero(n)   X-Ref
No description

isPercentage(n)   X-Ref
No description

pad2(c)   X-Ref
No description

convertToPercentage(n)   X-Ref
No description

convertDecimalToHex(d)   X-Ref
No description

convertHexToDecimal(h)   X-Ref
No description

isValidCSSUnit(color)   X-Ref
No description

stringInputToObject(color)   X-Ref
No description

validateWCAG2Parms(parms)   X-Ref
No description

_extends()   X-Ref
No description



Generated: Mon Sep 28 01:00:02 2020 Cross-referenced by PHPXref 0.7.1