diff --git a/browser/html/framed.doc.html b/browser/html/framed.doc.html index 3d606da498fec..32104ded7ea07 100644 --- a/browser/html/framed.doc.html +++ b/browser/html/framed.doc.html @@ -30,6 +30,30 @@ window.frames[0].postMessage(JSON.stringify(msg), '*'); } + function sendBoldUNOCommand() { + post({'MessageId': 'Send_UNO_Command', + 'Values': { 'Command': '.uno:Bold' } + }); + } + + function sendInsertBookMarkUNOCommand() { + post({'MessageId': 'Send_UNO_Command', + 'Values': { + 'Command': '.uno:InsertBookmark', + 'Args': { + Bookmark: { + type: 'string', + value: 'Test Insert BookMark' + }, + BookmarkText: { + type: 'string', + value: 'Text of the Test Insert BookMark' + } + } + } + }); + } + function insertText(text) { post({'MessageId': 'CallPythonScript', 'SendTime': Date.now(), @@ -310,6 +334,12 @@
localhost:* included in your net.frame_ancestors in coolwsd.xml