mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-02-10 18:05:06 +08:00
rename manager file
This commit is contained in:
@ -58,7 +58,7 @@
|
||||
<script type="text/javascript" src="scripts/text-annotations/grammar.js"></script>
|
||||
<script type="text/javascript" src="scripts/custom-annotations/custom-annotator.js"></script>
|
||||
<script type="text/javascript" src="scripts/custom-annotations/annotation-popup.js"></script>
|
||||
<script type="text/javascript" src="scripts/custom-annotations/assistant.js"></script>
|
||||
<script type="text/javascript" src="scripts/custom-annotations/manager.js"></script>
|
||||
<script type="text/javascript" src="scripts/custom-annotations/assistant-replace.js"></script>
|
||||
<script type="text/javascript" src="scripts/custom-annotations/assistant-hint.js"></script>
|
||||
<script type="text/javascript" src="scripts/custom-annotations/assistant-replace-hint.js"></script>
|
||||
|
||||
@ -101,6 +101,7 @@ class CustomAssistantManager {
|
||||
* @param {string[]} paraIds
|
||||
*/
|
||||
run(assistantId, paraIds) {
|
||||
console.warn("CustomAssistantManager.run", assistantId, paraIds);
|
||||
const assistant = this._customAssistants.get(assistantId);
|
||||
if (!assistant) {
|
||||
console.error("Custom assistant not found: " + assistantId);
|
||||
Reference in New Issue
Block a user