Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/editor-js/inline-code
/ functions
Functions
10 in github.com/editor-js/inline-code
⨍
Functions
10
◇
Types & classes
3
↓ 1 callers
Method
unwrap
* Unwrap term-tag * * @param {HTMLElement} termWrapper - term wrapper tag
src/index.ts:137
↓ 1 callers
Method
wrap
* Wrap selection with term-tag * * @param {Range} range - selected fragment
src/index.ts:109
Method
CSS
* Class name for term-tag * * @type {string}
src/index.ts:41
Method
checkState
* Check and change Term's state for current selection * * @return {boolean}
src/index.ts:171
Method
constructor
({ api }: InlineToolConstructorOptions)
src/index.ts:45
Method
isInline
* Specifies Tool as Inline Toolbar Tool * * @return {boolean}
src/index.ts:61
Method
render
* Create button element for Toolbar * * @return {HTMLElement}
src/index.ts:70
Method
sanitize
* Sanitizer rule * @return {SanitizerConfig}
src/index.ts:194
Method
surround
* Wrap/Unwrap selected fragment * * @param {Range} range - selected fragment
src/index.ts:84
Method
toolboxIcon
* Get Tool icon's SVG * @return {string}
src/index.ts:186