You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'PlantUML Gizmo was written for use in the OO Analysis and Design courses at École de technologie supérieure, and has been used by Google Engineers on Android and Google Pay.\n\n'+
132
-
'It uses JavaScript API Client Code described at http://plantuml.sourceforge.net/codejavascript.html as well as inflating routines at http://www.planttext.com/javascript/jquery-plantuml/plantuml.js\n\n'+
133
-
'Find me on twitter @thefuhrmanator. Version 15 (2019-11-22)';
130
+
vartext=`Mermaid Chart is building the next generation of smart diagramming for enterprise teams. Easily create and collaborate on self-designing diagrams using markdown style text and the Mermaid Visual Editor.
131
+
Skip the rough draft of your diagrams using Mermaid AI and share your professional diagrams easily with colleagues. Say goodbye to boring documentation and hello to Mermaid Chart!`;
134
132
135
133
ui.alert('About',text,ui.ButtonSet.OK);
136
134
}
137
135
138
136
exportfunctionopenHelpDialog(){
139
137
varui=DocumentApp.getUi();
140
138
141
-
vartext=`
142
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
143
-
`;
139
+
vartext=`Link your Mermaid Chart account to Google Docs and create, insert, or edit your Mermaid Chart diagrams directly in Google Docs to get started. If you have questions about how to use Mermaid Chart, please review the documentation on our website or our YouTube channel. Please contact [email protected] for further customer support`;
144
140
145
141
ui.alert('Help',text,ui.ButtonSet.OK);
146
142
}
@@ -300,7 +296,7 @@ export function readSelectedImageMetadata() {
300
296
constselection=doc.getSelection();
301
297
302
298
if(!selection){
303
-
DocumentApp.getUi().alert('No selection found. Please select an image.');
299
+
DocumentApp.getUi().alert('No diagram selected. Please select a diagram.');
304
300
returnnull;
305
301
}
306
302
@@ -316,7 +312,7 @@ export function readSelectedImageMetadata() {
316
312
}
317
313
318
314
if(!image){
319
-
DocumentApp.getUi().alert('Please select an image.');
315
+
DocumentApp.getUi().alert('Please select a diagram.');
320
316
returnnull;
321
317
}
322
318
@@ -341,7 +337,7 @@ export function replaceSelectedImageWithBase64AndSize(
341
337
constselection=doc.getSelection();
342
338
343
339
if(!selection){
344
-
DocumentApp.getUi().alert('No selection found. Please select an image.');
340
+
DocumentApp.getUi().alert('No diagram selected. Please select a diagram.');
345
341
return;
346
342
}
347
343
@@ -360,7 +356,7 @@ export function replaceSelectedImageWithBase64AndSize(
360
356
}
361
357
362
358
if(!imageParent||imageChildIndex===null){
363
-
DocumentApp.getUi().alert('Please select an image.');
359
+
DocumentApp.getUi().alert('Please select a diagram.');
0 commit comments