TinyMCE Editor https://www.tiny.cloud/blog/ Latest versions(4+) ask for "Your Tiny API Key" Demo with version 3.4 Your API Key is a unique token that links your TinyMCE instances to your account. It grants you access to the Premium Features that you are subscribed to. To get Key word Register or Login Simplest Usage <!DOCTYPE html> <html>…
Month: December 2021
html-docx-js Demo with TinyMCE v3.5 This is a very small library that is capable of converting HTML documents to DOCX format thatis used by Microsoft Word 2007 and onward. It manages to perform the conversion in the browser byusing a feature called ‘altchunks’. In a nutshell, it allows embedding content in a different markuplanguage. We…
At times you may want to add code in blogspot(http://www.blogger.com). It can be done with the following steps PS:There are many other similar services. Google "Syntax highlighting in Blogspot" to get an entire list Steps Visit code highlighter : http://ajblk.github.io/SyntaxHighlightGenerator-v3.0/OnlineGenerator.html Paste the code, select "language" & "code" Click "Get Formatted HTML" Preview Code Add External…
To add an HTML file to your Apps Script project, follow these steps: https://developers.google.com/apps-script/guides/html Open the Apps Script editor. At the left, click Add a file add > HTML. <!DOCTYPE html> <html> <head> <base target="_top"> <script> function readSSContents() { //simply call a funcion in script var ssContents = google.script.run.myFunction() } function onSuccess(numUnread) { var div…
function insert_value(request,sheet){ var id = request.parameter.id; var country = request.parameter.name; var flag=1; var lr= sheet.getLastRow(); for(var i=1;i<=lr;i++){ var id1 = sheet.getRange(i, 2).getValue(); if(id1==id){ flag=0; var result="Id already exist.."; } } //add new row with recieved parameter from client if(flag==1){ var d = new Date(); var currentTime = d.toLocaleString(); var rowData = sheet.appendRow([currentTime,id,country]); var result="Insertion successful";…
To open New >> More >> Google App Script Rename **A google script file will have this basic function *** function doGetTest(e){ } sligtly alter it like function doGetTest(e){ if (e === undefined)e ={parameters:{}}// for running tests } To get the url variable passed use e.parameter; eg: var op = e.parameter.action; Create google Spreadsheet Instance…