diff --git a/pluginDoc/classes/AbstractRichtextEditorAdapter.html b/pluginDoc/classes/AbstractRichtextEditorAdapter.html
index 9cee8eed..d9c449cd 100644
--- a/pluginDoc/classes/AbstractRichtextEditorAdapter.html
+++ b/pluginDoc/classes/AbstractRichtextEditorAdapter.html
@@ -1,4 +1,4 @@
-
AbstractRichtextEditorAdapter | @acrolinx/sidebar-sdkClass AbstractRichtextEditorAdapterAbstract
- AbstractRichtextEditorAdapter
Index
Properties
config
+
AbstractRichtextEditorAdapter | @acrolinx/sidebar-sdkClass AbstractRichtextEditorAdapterAbstract
- AbstractRichtextEditorAdapter
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult | Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult | Promise<ContentExtractionResult>
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
Abstract
getContent
- getContent(opts): string
Parameters
- opts: ExtractContentForCheckOpts
Returns string
Abstract
getEditorDocument
- getEditorDocument(): Document
Returns Document
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void | Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void | Promise<void>
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void | Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns void | Promise<void>
+
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult | Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult | Promise<ContentExtractionResult>
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
Abstract
getContent
- getContent(opts): string
Parameters
- opts: ExtractContentForCheckOpts
Returns string
Abstract
getEditorDocument
- getEditorDocument(): Document
Returns Document
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void | Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void | Promise<void>
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void | Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns void | Promise<void>
diff --git a/pluginDoc/classes/AcrolinxPlugin.html b/pluginDoc/classes/AcrolinxPlugin.html
index dbda5bdc..df4867e9 100644
--- a/pluginDoc/classes/AcrolinxPlugin.html
+++ b/pluginDoc/classes/AcrolinxPlugin.html
@@ -1,11 +1,11 @@
-AcrolinxPlugin | @acrolinx/sidebar-sdk Index
Constructors
constructor
+
AcrolinxPlugin | @acrolinx/sidebar-sdk Constructors
constructor
- new AcrolinxPlugin(conf): AcrolinxPlugin
Parameters
- conf: AcrolinxPluginConfig
Methods
check
- check(): void
Returns void
configure
- configure(conf): void
Parameters
- conf: SidebarConfiguration
Returns void
dispose
- dispose(callback): void
Returns void
registerAdapter
- registerAdapter(adapter): void
Returns void
showMessage
- showMessage(message): void
Constructors
constructor
- new AcrolinxPlugin(conf): AcrolinxPlugin
Parameters
- conf: AcrolinxPluginConfig
Methods
check
- check(): void
Returns void
configure
- configure(conf): void
Parameters
- conf: SidebarConfiguration
Returns void
dispose
- dispose(callback): void
Returns void
registerAdapter
- registerAdapter(adapter): void
Returns void
showMessage
- showMessage(message): void
Returns void
+Returns void
diff --git a/pluginDoc/classes/AsyncAutoBindAdapter.html b/pluginDoc/classes/AsyncAutoBindAdapter.html
index dbb99dde..2529b742 100644
--- a/pluginDoc/classes/AsyncAutoBindAdapter.html
+++ b/pluginDoc/classes/AsyncAutoBindAdapter.html
@@ -1,4 +1,4 @@
-AsyncAutoBindAdapter | @acrolinx/sidebar-sdkClass AsyncAutoBindAdapter
Index
Constructors
constructor
+
AsyncAutoBindAdapter | @acrolinx/sidebar-sdkClass AsyncAutoBindAdapter
Constructors
constructor
- new AsyncAutoBindAdapter(conf): AsyncAutoBindAdapter
Parameters
- conf: MultiEditorAdapterConfig & CommonAdapterConf & AutobindConfig
Properties
Readonly
isAsync
isAsync: true = ...
Readonly
requiresSynchronization
requiresSynchronization: true = ...
Methods
extractContentForCheck
- extractContentForCheck(opts): Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns Promise<ContentExtractionResult>
getFormat
- getFormat(): "HTML" | "AUTO"
Returns "HTML" | "AUTO"
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns Promise<void>
selectRanges
- selectRanges(checkId, matches): Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns Promise<void>
+
Constructors
constructor
- new AsyncAutoBindAdapter(conf): AsyncAutoBindAdapter
Parameters
- conf: MultiEditorAdapterConfig & CommonAdapterConf & AutobindConfig
Properties
Readonly
isAsync
isAsync: true = ...
Readonly
requiresSynchronization
requiresSynchronization: true = ...
Methods
extractContentForCheck
- extractContentForCheck(opts): Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns Promise<ContentExtractionResult>
getFormat
- getFormat(): "HTML" | "AUTO"
Returns "HTML" | "AUTO"
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns Promise<void>
selectRanges
- selectRanges(checkId, matches): Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns Promise<void>
diff --git a/pluginDoc/classes/AsyncLocalStorage.html b/pluginDoc/classes/AsyncLocalStorage.html
index 9ac9aea8..632e7ced 100644
--- a/pluginDoc/classes/AsyncLocalStorage.html
+++ b/pluginDoc/classes/AsyncLocalStorage.html
@@ -1,4 +1,4 @@
-AsyncLocalStorage | @acrolinx/sidebar-sdk Index
Constructors
constructor
+
AsyncLocalStorage | @acrolinx/sidebar-sdk Constructors
Methods
get
- get<T>(key): Promise<null | T>
Returns Promise<null | T>
set
- set<T>(key, value): Promise<undefined>
Returns Promise<undefined>
+
Constructors
Methods
get
- get<T>(key): Promise<null | T>
Returns Promise<null | T>
set
- set<T>(key, value): Promise<undefined>
Returns Promise<undefined>
diff --git a/pluginDoc/classes/AsyncMultiEditorAdapter.html b/pluginDoc/classes/AsyncMultiEditorAdapter.html
index b4d95ea5..df7fb3b2 100644
--- a/pluginDoc/classes/AsyncMultiEditorAdapter.html
+++ b/pluginDoc/classes/AsyncMultiEditorAdapter.html
@@ -1,4 +1,4 @@
-AsyncMultiEditorAdapter | @acrolinx/sidebar-sdkClass AsyncMultiEditorAdapter
Index
Constructors
constructor
+
AsyncMultiEditorAdapter | @acrolinx/sidebar-sdkClass AsyncMultiEditorAdapter
Constructors
Properties
Readonly
isAsync
isAsync: true = ...
Readonly
requiresSynchronization
requiresSynchronization: true = ...
Methods
addSingleAdapter
- addSingleAdapter(singleAdapter, opts?, id?): void
Returns void
extractContentForCheck
- extractContentForCheck(opts): Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns Promise<ContentExtractionResult>
getAdapterForMatch
- getAdapterForMatch(match): CheckedRegisteredAdapter
Returns CheckedRegisteredAdapter
getFormat
- getFormat(): "HTML" | "AUTO"
Returns "HTML" | "AUTO"
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(checkResult): void
Parameters
- checkResult: SuccessfulCheckResult
Returns void
remapMatches
- remapMatches<T>(matches): {
[id: string]: RemappedMatches<T>;
} Returns {
[id: string]: RemappedMatches<T>;
}
[id: string]: RemappedMatches<T>
removeAllAdapters
- removeAllAdapters(): void
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns Promise<void>
selectRanges
- selectRanges(checkId, matches): Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns Promise<void>
+
Constructors
Properties
Readonly
isAsync
isAsync: true = ...
Readonly
requiresSynchronization
requiresSynchronization: true = ...
Methods
addSingleAdapter
- addSingleAdapter(singleAdapter, opts?, id?): void
Returns void
extractContentForCheck
- extractContentForCheck(opts): Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns Promise<ContentExtractionResult>
getAdapterForMatch
- getAdapterForMatch(match): CheckedRegisteredAdapter
Returns CheckedRegisteredAdapter
getFormat
- getFormat(): "HTML" | "AUTO"
Returns "HTML" | "AUTO"
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(checkResult): void
Parameters
- checkResult: SuccessfulCheckResult
Returns void
remapMatches
- remapMatches<T>(matches): {
[id: string]: RemappedMatches<T>;
} Returns {
[id: string]: RemappedMatches<T>;
}
[id: string]: RemappedMatches<T>
removeAllAdapters
- removeAllAdapters(): void
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns Promise<void>
selectRanges
- selectRanges(checkId, matches): Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns Promise<void>
diff --git a/pluginDoc/classes/AutoBindAdapter.html b/pluginDoc/classes/AutoBindAdapter.html
index 21458891..f9731b85 100644
--- a/pluginDoc/classes/AutoBindAdapter.html
+++ b/pluginDoc/classes/AutoBindAdapter.html
@@ -1,8 +1,8 @@
-AutoBindAdapter | @acrolinx/sidebar-sdk Index
Constructors
constructor
+
AutoBindAdapter | @acrolinx/sidebar-sdk Constructors
constructor
- new AutoBindAdapter(conf): AutoBindAdapter
Parameters
- conf: MultiEditorAdapterConfig & CommonAdapterConf & AutobindConfig
Methods
extractContentForCheck
- extractContentForCheck(opts): Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns Promise<ContentExtractionResult>
getFormat
- getFormat(): "HTML" | "AUTO"
Returns "HTML" | "AUTO"
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void
selectRanges
- selectRanges(checkId, matches): void
Parameters
- checkId: string
- matches: Match[]
Returns void
+
Constructors
constructor
- new AutoBindAdapter(conf): AutoBindAdapter
Parameters
- conf: MultiEditorAdapterConfig & CommonAdapterConf & AutobindConfig
Methods
extractContentForCheck
- extractContentForCheck(opts): Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns Promise<ContentExtractionResult>
getFormat
- getFormat(): "HTML" | "AUTO"
Returns "HTML" | "AUTO"
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void
selectRanges
- selectRanges(checkId, matches): void
Parameters
- checkId: string
- matches: Match[]
Returns void
diff --git a/pluginDoc/classes/CKEditor5Adapter.html b/pluginDoc/classes/CKEditor5Adapter.html
index 53576c39..5274e552 100644
--- a/pluginDoc/classes/CKEditor5Adapter.html
+++ b/pluginDoc/classes/CKEditor5Adapter.html
@@ -1,4 +1,4 @@
-CKEditor5Adapter | @acrolinx/sidebar-sdk Index
Constructors
constructor
+
CKEditor5Adapter | @acrolinx/sidebar-sdk Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(): ContentExtractionResult
Returns ContentExtractionResult
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getEditor
- getEditor(): InlineEditor
Returns InlineEditor
getEditorDocument
- getEditorDocument(): Document
Returns Document
getEditorElement
- getEditorElement(): HTMLElement
Returns HTMLElement
isInSourceEditingMode
- isInSourceEditingMode(): boolean
Returns boolean
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacementArg): void
Parameters
- checkId: string
- matchesWithReplacementArg: MatchWithReplacement[]
Returns void
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void
Parameters
- checkId: string
- matches: Match[]
Returns void
+
Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(): ContentExtractionResult
Returns ContentExtractionResult
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getEditor
- getEditor(): InlineEditor
Returns InlineEditor
getEditorDocument
- getEditorDocument(): Document
Returns Document
getEditorElement
- getEditorElement(): HTMLElement
Returns HTMLElement
isInSourceEditingMode
- isInSourceEditingMode(): boolean
Returns boolean
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacementArg): void
Parameters
- checkId: string
- matchesWithReplacementArg: MatchWithReplacement[]
Returns void
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void
Parameters
- checkId: string
- matches: Match[]
Returns void
diff --git a/pluginDoc/classes/CKEditorAdapter.html b/pluginDoc/classes/CKEditorAdapter.html
index 54ce2e95..ea57a1cb 100644
--- a/pluginDoc/classes/CKEditorAdapter.html
+++ b/pluginDoc/classes/CKEditorAdapter.html
@@ -1,4 +1,4 @@
-CKEditorAdapter | @acrolinx/sidebar-sdk Index
Constructors
constructor
+
CKEditorAdapter | @acrolinx/sidebar-sdk Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(): ContentExtractionResult
Returns ContentExtractionResult
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getEditor
- getEditor(): editor
Returns editor
getEditorDocument
- getEditorDocument(): Document
Returns Document
isInWysiwygMode
- isInWysiwygMode(): boolean
Returns boolean
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacementArg): void
Parameters
- checkId: string
- matchesWithReplacementArg: MatchWithReplacement[]
Returns void
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void
Parameters
- checkId: string
- matches: Match[]
Returns void
+
Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(): ContentExtractionResult
Returns ContentExtractionResult
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getEditor
- getEditor(): editor
Returns editor
getEditorDocument
- getEditorDocument(): Document
Returns Document
isInWysiwygMode
- isInWysiwygMode(): boolean
Returns boolean
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacementArg): void
Parameters
- checkId: string
- matchesWithReplacementArg: MatchWithReplacement[]
Returns void
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void
Parameters
- checkId: string
- matches: Match[]
Returns void
diff --git a/pluginDoc/classes/CodeMirror6Adapter.html b/pluginDoc/classes/CodeMirror6Adapter.html
index 5dc7ed3f..7def184c 100644
--- a/pluginDoc/classes/CodeMirror6Adapter.html
+++ b/pluginDoc/classes/CodeMirror6Adapter.html
@@ -1,4 +1,4 @@
-CodeMirror6Adapter | @acrolinx/sidebar-sdk Index
Constructors
constructor
+
CodeMirror6Adapter | @acrolinx/sidebar-sdk Constructors
Methods
configure
- configure(partialConfig): void
Parameters
- partialConfig: Partial<CodeMirror6AdapterConf>
Returns void
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult
getContent
- getContent(): string
Returns string
getFormat
- getFormat(): string
Returns string
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(checkResult): void
Parameters
- checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(_checkId, matchesWithReplacement): void
Parameters
- _checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void
selectRanges
- selectRanges(_checkId, matches): void
Parameters
- _checkId: string
- matches: Match[]
Returns void
+
Constructors
Methods
configure
- configure(partialConfig): void
Parameters
- partialConfig: Partial<CodeMirror6AdapterConf>
Returns void
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult
getContent
- getContent(): string
Returns string
getFormat
- getFormat(): string
Returns string
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(checkResult): void
Parameters
- checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(_checkId, matchesWithReplacement): void
Parameters
- _checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void
selectRanges
- selectRanges(_checkId, matches): void
Parameters
- _checkId: string
- matches: Match[]
Returns void
diff --git a/pluginDoc/classes/CodeMirrorAdapter.html b/pluginDoc/classes/CodeMirrorAdapter.html
index f6986363..a5dc7264 100644
--- a/pluginDoc/classes/CodeMirrorAdapter.html
+++ b/pluginDoc/classes/CodeMirrorAdapter.html
@@ -1,4 +1,4 @@
-CodeMirrorAdapter | @acrolinx/sidebar-sdk Index
Constructors
constructor
+
CodeMirrorAdapter | @acrolinx/sidebar-sdk Constructors
Methods
configure
- configure(partialConfig): void
Parameters
- partialConfig: Partial<CodeMirrorAdapterConf>
Returns void
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult
getContent
- getContent(): string
Returns string
getFormat
- getFormat(): string
Returns string
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(checkResult): void
Parameters
- checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(_checkId, matchesWithReplacement): void
Parameters
- _checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void
selectRanges
- selectRanges(_checkId, matches): void
Parameters
- _checkId: string
- matches: Match[]
Returns void
+
Constructors
Methods
configure
- configure(partialConfig): void
Parameters
- partialConfig: Partial<CodeMirrorAdapterConf>
Returns void
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult
getContent
- getContent(): string
Returns string
getFormat
- getFormat(): string
Returns string
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(checkResult): void
Parameters
- checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(_checkId, matchesWithReplacement): void
Parameters
- _checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void
selectRanges
- selectRanges(_checkId, matches): void
Parameters
- _checkId: string
- matches: Match[]
Returns void
diff --git a/pluginDoc/classes/ContentEditableAdapter.html b/pluginDoc/classes/ContentEditableAdapter.html
index 33bc1b35..665d428f 100644
--- a/pluginDoc/classes/ContentEditableAdapter.html
+++ b/pluginDoc/classes/ContentEditableAdapter.html
@@ -1,4 +1,4 @@
-ContentEditableAdapter | @acrolinx/sidebar-sdkClass ContentEditableAdapter
Index
Constructors
constructor
+
ContentEditableAdapter | @acrolinx/sidebar-sdkClass ContentEditableAdapter
Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
element
element: HTMLElement
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult | Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult | Promise<ContentExtractionResult>
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getEditorDocument
- getEditorDocument(): Document
Returns Document
getEditorElement
- getEditorElement(): HTMLElement
Returns HTMLElement
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void | Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void | Promise<void>
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void | Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns void | Promise<void>
+
Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
element
element: HTMLElement
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult | Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult | Promise<ContentExtractionResult>
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getEditorDocument
- getEditorDocument(): Document
Returns Document
getEditorElement
- getEditorElement(): HTMLElement
Returns HTMLElement
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void | Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void | Promise<void>
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void | Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns void | Promise<void>
diff --git a/pluginDoc/classes/InputAdapter.html b/pluginDoc/classes/InputAdapter.html
index 1cf30689..a81f2435 100644
--- a/pluginDoc/classes/InputAdapter.html
+++ b/pluginDoc/classes/InputAdapter.html
@@ -1,4 +1,4 @@
-InputAdapter | @acrolinx/sidebar-sdk Index
Constructors
constructor
+
InputAdapter | @acrolinx/sidebar-sdk Constructors
Properties
config
config: InputAdapterConf
Readonly
element
element: ValidInputElement
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getCurrentText
- getCurrentText(): string
Returns string
getFormat
- getFormat(): Format
Returns Format
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceAlignedMatches
- replaceAlignedMatches(matches): void
Parameters
- matches: AlignedMatch<MatchWithReplacement>[]
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void
scrollAndSelect
- scrollAndSelect(matches): void
Parameters
- matches: AlignedMatch<Match>[]
Returns void
selectMatches
- selectMatches<T>(_checkId, matches): AlignedMatch<T>[]
Parameters
- _checkId: string
- matches: T[]
Returns AlignedMatch<T>[]
selectRanges
- selectRanges(checkId, matches): void
Parameters
- checkId: string
- matches: Match[]
Returns void
+
Constructors
Properties
config
config: InputAdapterConf
Readonly
element
element: ValidInputElement
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getCurrentText
- getCurrentText(): string
Returns string
getFormat
- getFormat(): Format
Returns Format
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceAlignedMatches
- replaceAlignedMatches(matches): void
Parameters
- matches: AlignedMatch<MatchWithReplacement>[]
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void
scrollAndSelect
- scrollAndSelect(matches): void
Parameters
- matches: AlignedMatch<Match>[]
Returns void
selectMatches
- selectMatches<T>(_checkId, matches): AlignedMatch<T>[]
Parameters
- _checkId: string
- matches: T[]
Returns AlignedMatch<T>[]
selectRanges
- selectRanges(checkId, matches): void
Parameters
- checkId: string
- matches: Match[]
Returns void
diff --git a/pluginDoc/classes/MultiEditorAdapter.html b/pluginDoc/classes/MultiEditorAdapter.html
index 7b6c8feb..3c59a04b 100644
--- a/pluginDoc/classes/MultiEditorAdapter.html
+++ b/pluginDoc/classes/MultiEditorAdapter.html
@@ -1,4 +1,4 @@
-MultiEditorAdapter | @acrolinx/sidebar-sdk Index
Constructors
constructor
+
MultiEditorAdapter | @acrolinx/sidebar-sdk Constructors
constructor
- new MultiEditorAdapter(config?): MultiEditorAdapter
Parameters
- config: MultiEditorAdapterConfig = {}
Methods
addSingleAdapter
- addSingleAdapter(singleAdapter, opts?, id?): void
Returns void
extractContentForCheck
- extractContentForCheck(opts): Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns Promise<ContentExtractionResult>
getAdapterForMatch
- getAdapterForMatch(match): CheckedRegisteredAdapter
Returns CheckedRegisteredAdapter
getFormat
- getFormat(): "HTML" | "AUTO"
Returns "HTML" | "AUTO"
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(checkResult): void
Parameters
- checkResult: SuccessfulCheckResult
Returns void
remapMatches
- remapMatches<T>(matches): {
[id: string]: RemappedMatches<T>;
} Returns {
[id: string]: RemappedMatches<T>;
}
[id: string]: RemappedMatches<T>
removeAllAdapters
- removeAllAdapters(): void
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void
selectRanges
- selectRanges(checkId, matches): void
Parameters
- checkId: string
- matches: Match[]
Returns void
+
Constructors
constructor
- new MultiEditorAdapter(config?): MultiEditorAdapter
Parameters
- config: MultiEditorAdapterConfig = {}
Methods
addSingleAdapter
- addSingleAdapter(singleAdapter, opts?, id?): void
Returns void
extractContentForCheck
- extractContentForCheck(opts): Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns Promise<ContentExtractionResult>
getAdapterForMatch
- getAdapterForMatch(match): CheckedRegisteredAdapter
Returns CheckedRegisteredAdapter
getFormat
- getFormat(): "HTML" | "AUTO"
Returns "HTML" | "AUTO"
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(checkResult): void
Parameters
- checkResult: SuccessfulCheckResult
Returns void
remapMatches
- remapMatches<T>(matches): {
[id: string]: RemappedMatches<T>;
} Returns {
[id: string]: RemappedMatches<T>;
}
[id: string]: RemappedMatches<T>
removeAllAdapters
- removeAllAdapters(): void
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void
selectRanges
- selectRanges(checkId, matches): void
Parameters
- checkId: string
- matches: Match[]
Returns void
diff --git a/pluginDoc/classes/StateBasedContentEditableAdapter.html b/pluginDoc/classes/StateBasedContentEditableAdapter.html
index 0faedd9a..05e364dc 100644
--- a/pluginDoc/classes/StateBasedContentEditableAdapter.html
+++ b/pluginDoc/classes/StateBasedContentEditableAdapter.html
@@ -1,4 +1,4 @@
-StateBasedContentEditableAdapter | @acrolinx/sidebar-sdkClass StateBasedContentEditableAdapter
Index
Constructors
constructor
+
StateBasedContentEditableAdapter | @acrolinx/sidebar-sdkClass StateBasedContentEditableAdapter
Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
element
element: HTMLElement
Readonly
isAsync
isAsync: true = ...
Optional
lastContentChecked
lastContentChecked?: string
Readonly
requiresSynchronization
requiresSynchronization: true = ...
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult | Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult | Promise<ContentExtractionResult>
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getEditorDocument
- getEditorDocument(): Document
Returns Document
getEditorElement
- getEditorElement(): HTMLElement
Returns HTMLElement
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns Promise<void>
scrollIntoView
- scrollIntoView(sel): Promise<void>
Returns Promise<void>
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns Promise<void>
selectText
- selectText(begin, length, textMapping): Promise<void>
Parameters
- begin: number
- length: number
- textMapping: TextDomMapping
Returns Promise<void>
+
Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
element
element: HTMLElement
Readonly
isAsync
isAsync: true = ...
Optional
lastContentChecked
lastContentChecked?: string
Readonly
requiresSynchronization
requiresSynchronization: true = ...
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult | Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult | Promise<ContentExtractionResult>
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getEditorDocument
- getEditorDocument(): Document
Returns Document
getEditorElement
- getEditorElement(): HTMLElement
Returns HTMLElement
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns Promise<void>
scrollIntoView
- scrollIntoView(sel): Promise<void>
Returns Promise<void>
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns Promise<void>
selectText
- selectText(begin, length, textMapping): Promise<void>
Parameters
- begin: number
- length: number
- textMapping: TextDomMapping
Returns Promise<void>
diff --git a/pluginDoc/classes/TinyMCEAdapter.html b/pluginDoc/classes/TinyMCEAdapter.html
index 7ad4a913..721f56db 100644
--- a/pluginDoc/classes/TinyMCEAdapter.html
+++ b/pluginDoc/classes/TinyMCEAdapter.html
@@ -1,4 +1,4 @@
-TinyMCEAdapter | @acrolinx/sidebar-sdk Index
Constructors
constructor
+
TinyMCEAdapter | @acrolinx/sidebar-sdk Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult | Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult | Promise<ContentExtractionResult>
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(opts): string
Parameters
- opts: ExtractContentForCheckOpts
Returns string
getContentForCheckSelection
- getContentForCheckSelection(el): string
Returns string
getEditor
- getEditor(): Editor
Returns Editor
getEditorDocument
- getEditorDocument(): Document
Returns Document
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void | Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void | Promise<void>
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void | Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns void | Promise<void>
+
Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult | Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult | Promise<ContentExtractionResult>
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(opts): string
Parameters
- opts: ExtractContentForCheckOpts
Returns string
getContentForCheckSelection
- getContentForCheckSelection(el): string
Returns string
getEditor
- getEditor(): Editor
Returns Editor
getEditorDocument
- getEditorDocument(): Document
Returns Document
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void | Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void | Promise<void>
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void | Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns void | Promise<void>
diff --git a/pluginDoc/classes/TinyMCEWordpressAdapter.html b/pluginDoc/classes/TinyMCEWordpressAdapter.html
index a2f01159..d6d1f1cf 100644
--- a/pluginDoc/classes/TinyMCEWordpressAdapter.html
+++ b/pluginDoc/classes/TinyMCEWordpressAdapter.html
@@ -1,4 +1,4 @@
-TinyMCEWordpressAdapter | @acrolinx/sidebar-sdkClass TinyMCEWordpressAdapter
Index
Constructors
constructor
+
TinyMCEWordpressAdapter | @acrolinx/sidebar-sdkClass TinyMCEWordpressAdapter
Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult | Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult | Promise<ContentExtractionResult>
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getContentForCheckSelection
- getContentForCheckSelection(el): string
Returns string
getEditor
- getEditor(): Editor
Returns Editor
getEditorDocument
- getEditorDocument(): Document
Returns Document
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void | Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void | Promise<void>
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
scrollToCurrentSelectionWithGlobalScrollbar
- scrollToCurrentSelectionWithGlobalScrollbar(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void | Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns void | Promise<void>
+
Constructors
Properties
config
config: AdapterConf
Optional
currentContentChecking
currentContentChecking?: string
Optional
lastContentChecked
lastContentChecked?: string
Methods
extractContentForCheck
- extractContentForCheck(opts): ContentExtractionResult | Promise<ContentExtractionResult>
Parameters
- opts: ExtractContentForCheckOpts
Returns ContentExtractionResult | Promise<ContentExtractionResult>
getAutobindWrapperAttributes
- getAutobindWrapperAttributes(): AutobindWrapperAttributes
Returns AutobindWrapperAttributes
getContent
- getContent(): string
Returns string
getContentForCheckSelection
- getContentForCheckSelection(el): string
Returns string
getEditor
- getEditor(): Editor
Returns Editor
getEditorDocument
- getEditorDocument(): Document
Returns Document
registerCheckCall
- registerCheckCall(_checkInfo): void
Returns void
registerCheckResult
- registerCheckResult(_checkResult): void
Parameters
- _checkResult: SuccessfulCheckResult
Returns void
replaceRanges
- replaceRanges(checkId, matchesWithReplacement): void | Promise<void>
Parameters
- checkId: string
- matchesWithReplacement: MatchWithReplacement[]
Returns void | Promise<void>
scrollToCurrentSelection
- scrollToCurrentSelection(): void
Returns void
scrollToCurrentSelectionWithGlobalScrollbar
- scrollToCurrentSelectionWithGlobalScrollbar(): void
Returns void
selectRanges
- selectRanges(checkId, matches): void | Promise<void>
Parameters
- checkId: string
- matches: Match[]
Returns void | Promise<void>
diff --git a/pluginDoc/functions/autoBindFloatingSidebar.html b/pluginDoc/functions/autoBindFloatingSidebar.html
index c7d1b3a8..573aa9b2 100644
--- a/pluginDoc/functions/autoBindFloatingSidebar.html
+++ b/pluginDoc/functions/autoBindFloatingSidebar.html
@@ -1 +1 @@
-autoBindFloatingSidebar | @acrolinx/sidebar-sdkFunction autoBindFloatingSidebar
- autoBindFloatingSidebar(basicConf): FloatingSidebar
Parameters
- basicConf: AutoBindFloatingSidebarConfig
Returns FloatingSidebar
+autoBindFloatingSidebar | @acrolinx/sidebar-sdkFunction autoBindFloatingSidebar
- autoBindFloatingSidebar(basicConf): FloatingSidebar
Parameters
- basicConf: AutoBindFloatingSidebarConfig
Returns FloatingSidebar
diff --git a/pluginDoc/functions/createPluginMessageAdapter.html b/pluginDoc/functions/createPluginMessageAdapter.html
index aae593b0..ebb1e035 100644
--- a/pluginDoc/functions/createPluginMessageAdapter.html
+++ b/pluginDoc/functions/createPluginMessageAdapter.html
@@ -1,2 +1,2 @@
createPluginMessageAdapter | @acrolinx/sidebar-sdkFunction createPluginMessageAdapter
- createPluginMessageAdapter(win?): AcrolinxPlugin
Parameters
- win: Window & typeof globalThis = window
Returns AcrolinxPlugin
+Parameters
- win: Window & typeof globalThis = window
Returns AcrolinxPlugin
Show a message in the Sidebar. +