Kindly EditDocumentationTry the editor

element-js.js

Element JavaScript authoring interface and explicit preview controls.

Responsibility#

Element JavaScript authoring interface and explicit preview controls.

File characteristics#

  • Source: assets/element-js.js
  • Lines in this release: 262
  • Type: browser JavaScript

Named browser helpers#

bytes, check, checkSyntax, compileOnly, el, escapeAttr, lineAt, nativeConflict, normalize, panel, stripFromPaste, validate.

These functions are internal to the module unless an explicit public contract says otherwise. The list includes nested helpers and is not a global browser API.

Literal event listeners#

click, keydown, toggle. Dynamic event names may be assembled elsewhere. Event listeners must follow the owner document when the live device canvas moves page nodes.

Markup attributes used here#

data-ce-js-state, data-ce-part, data-ce-root, data-ce-shortcode, data-ke-js, data-ke-js-approve, data-ke-js-sig. These names can represent authored state, generated output, or temporary editor markers. Use the feature’s save contract before persisting them.

Integration and verification#

Load this file through the plugin’s normal enqueue path so its dependencies and configuration are present. Check the relevant feature after a saved reload, in the live device canvas where applicable, and on the published page. Editor-only UI should not become authored page content. See architecture for the lifecycle and responsive design for document movement.

About this page

Documents Kindly Edit 0.9.16. Source: assets/element-js.js. Theme choices and account permissions can change which controls appear.

Type a word or phrase to search the full documentation.