feat:完成Collabora初步集成(返回顶部、文档页数获取)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Collabora 文档操作功能模块
|
||||
*
|
||||
* @encoding UTF-8
|
||||
*/
|
||||
|
||||
import { sendUnoCommand } from '../Uno';
|
||||
|
||||
/**
|
||||
* 保存文档
|
||||
* @param iframeWindow - iframe 的 contentWindow
|
||||
*/
|
||||
export function unoSave(iframeWindow: Window): void {
|
||||
sendUnoCommand(iframeWindow, '.uno:Save');
|
||||
}
|
||||
Reference in New Issue
Block a user