-
Notifications
You must be signed in to change notification settings - Fork 1
/
content-rich-text.html
535 lines (445 loc) · 25.4 KB
/
content-rich-text.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hesburgh Libraries · Guides Handbook</title>
<link rel="apple-touch-icon" sizes="57x57" href="favicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="favicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="favicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="favicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="favicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="favicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="favicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="favicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="favicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicons/favicon-16x16.png">
<link rel="manifest" href="favicons/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="favicons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.2/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- <link href="http://fonts.googleapis.com/css?family=Roboto:300,400,500&subset=latin,cyrillic" rel="stylesheet" type="text/css"> -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<style type="text/css">
#hierarchy-table td:first-of-type {
text-align: center
}
</style>
</head>
<body data-spy="scroll" data-target="#myScrollspy" data-offset="15">
<!-- header ----------------------------->
<div class="brand-bar container-fluid">
<div class="container-fluid">
<div class="row">
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6">
<a href="http://www.nd.edu">University <i>of</i> Notre Dame</a>
</div>
<div class="text-center col-xs-12 hidden-sm hidden-md hidden-lg hidden-xl">
<a href="http://www.nd.edu">University <i>of</i> Notre Dame</a>
</div>
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6 text-right">
<a href="https://provost.nd.edu/">Office <i>of the</i> Provost</a>
</div>
<div class="text-center col-xs-12 hidden-sm hidden-md hidden-lg hidden-xl text-center">
<a class="brand-bar-bottom-padded" href="https://provost.nd.edu/">Office <i>of the</i> Provost</a>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row" id="nd-libguides-header-pattern">
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6">
<h1 id="hesburgh-libraries"><a href="http://library.nd.edu" target="_blank">HESBURGH <span style="color:#F8E999;">LIBRARIES</span></a></h1>
</div>
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6">
<h1 style="opacity:.6;text-align:right;">Guides Handbook</h1>
</div>
<div class="col-xs-12 text-center hidden-sm hidden-md hidden-lg">
<h1><a href="http://library.nd.edu" target="_blank">HESBURGH <span style="color:#F8E999;margin-bottom:10px;">LIBRARIES</span></a></h1>
</div>
<div class="col-xs-12 text-center hidden-sm hidden-md hidden-lg">
<h1 style="opacity:.6;text-align:center;">Guides Handbook</h1>
</div>
</div>
</div>
<!-- header closes ----------------------------->
<!-- Main Content ----------------------------->
<div class="container" id="main-container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 text-right">
<a class="btn btn-default help-button" href="https://nd.libapps.com/libapps/login.php" role="button" target="_blank"><i class="fa fa-lock fa-spacer-right" aria-hidden="true"></i> LibGuides Login</a>
<a class="btn btn-default help-button" href="http://libguides.library.nd.edu/reusable-assets" role="button" target="_blank"><i class="fa fa-list-alt fa-spacer-right" aria-hidden="true"></i>Reusable Assets</a>
</div>
</div>
<div class="page-header">
<div w3-include-html="navmenu.html"></div>
</div>
<!-- page header closes -->
<div id="masthead">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Rich Text / HTML</h1>
<p class="lead">Use the Rich Text / HTML content item for paragraphs, headings, alerts, tables and other features.</p>
</div>
</div>
</div>
<!--/container-->
</div>
<!--/masthead-->
<div class="container">
<div class="row">
<!--left column-->
<div class="col-md-3 hidden-xs hidden-sm" id="leftCol">
<ul class="nav nav-stacked" id="sidebar">
<li><a href="#sec0">Rich Text / HTML</a></li>
<li><a href="#sec1">Adding Features</a></li>
<li><a href="#" class="back-to-top"><i class="fa fa-arrow-circle-o-up"></i> Back to top</a></li>
</ul>
</div>
<!--right column-->
<div class="col-md-9" id="rightCol">
<h2 id="sec0">Rich Text / HTML</h2>
<p>The Rich Text / HTML content item accepts plain text, rich text, and HTML code through the rich text editor. While <code>documents</code>, <code>links</code>, <code>books</code>, <code>media widgets</code>, <code>rss feeds</code>, <code>polls</code> and all other system components must span the full width of a box, the Rich Text / HTML content item is the only system component which can be subdivided into <a href="feature-column.html">columns</a>.</p>
<h5 class="push-down">Copy–Pasting Text</h5>
<p>Use caution when pasting text from other applications or webpages as this may <a href="help-faq.html">introduce extraneous formatting</a>. There are three ways to paste text in the WYSIWYG editor.</p>
<div class="row">
<div class="col-sm-8">
<table class="table table-striped table-responsive">
<tr>
<td><strong>Paste</strong><br>
<span class="label label-danger">Do Not Use</span>
</td>
<td>
<ul>
<li>Violates Handbook by pasting all underlying formats of original document—this is bad.</li>
<li>Links are preserved.</li>
</ul>
</td>
</tr>
<tr>
<td><strong>Paste Simple Text</strong><br>
<span class="label label-warning">Case-by-case</span></td>
<td>
<ul>
<li>Pastes no underlying formats of original document.</li>
<li>Links are not preserved.</li>
</ul>
</td>
</tr>
<tr>
<td><strong>Paste from Word (or Web)</strong><br>
<span class="label label-success">Recommended</span></td>
<td>
<ul>
<li>Pastes no underlying formats of original document.</li>
<li>Links are preserved.</li>
</ul>
</td>
</tr>
</table>
<p class="push-down"><a href="" data-toggle="modal" data-target="#typographyModal"><i class="fa fa-list-ol fa-spacer-right" aria-hidden="true"></i>See an example hierarchy of headings </a></p>
<!-- <p>
<a href="feature-text.html" target="_blank"> <i class="fa fa-info-circle fa-fw" aria-hidden="true"></i> More about text formats <i class="fa fa-external-link" aria-hidden="true"></i></a>
</p> -->
</div>
<div class="col-sm-4">
<img class="pull-right pulled-right img-responsive" src="img/paste-from.png" alt="" width="300">
</div>
</div>
<h2 id="sec1">Adding Features</h2>
<p>Features—including <code>alerts and labels</code>, <code>icons and buttons</code>, <code>columns</code>, <code>tables</code>, <code>videos</code>, <code>cards and panels</code>, and <code>images and videos</code>, etc.—are added inside of the source code window of a Rich Text / HTML content item. Adding a feature is a 2-step process: 1) Select and customize any feature with its code-builder tool in this Handbook, 2) Copy the generated code and paste it into the Library Guide, editing as necessary.</p>
<div class="row">
<div class="col-sm-1">
<h1 class='short-round center-block' style='font-size: 20px; height: 44px; width: 44px; padding: 8px; border-radius: 50px; background: #5bc0de;'>1</h1>
</div>
<div class="col-sm-5">
<h5>Custom-build Your Feature</h5>
<p><em>Select the feature you need. In this example we'll use an Alert. Customize the feature, build and copy the code</em>.</p>
<table class='table numbered-steps'>
<thead></thead>
<tbody>
<tr>
<td style='width:45px'>1</td>
<td>Select the <strong>Features</strong> dropdown tab on the Handbook menu.</td>
</tr>
<tr>
<td>2</td>
<td>Select the <strong>Text</strong> page. <span class='label label-info'><small>example</small></span></td>
</tr>
<tr>
<td>3</td>
<td>Select the feature you need from the side menu. In this example, click on <strong>Alerts / Notes</strong> to navigate to the Alerts / Notes builder.</td>
</tr>
<tr>
<td>4</td>
<td>Enter the <code>Title</code>.</td>
</tr>
<tr>
<td>5</td>
<td>Enter the <code>Text</code>.</td>
</tr>
<tr>
<td>6</td>
<td>Select the <code>Color</code>.</td>
</tr>
<tr>
<td>7</td>
<td>Select the default <code>icon</code> or choose a custom icon.</td>
</tr>
<tr>
<td>8</td>
<td>Click the <span class='label label-primary'>Build</span> button to create the code.</td>
</tr>
<tr>
<td>9</td>
<td>Click the <small><span style="background:#337ab7;padding:4px;color:#FFFFFF;border-radius:3px;"><i class="fa fa-clipboard" aria-hidden="true"></i></span></small> Copy icon to copy the code.</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-6">
<div class='panel panel-default'>
<div class='panel-body' style='background:#FFFFFF'><img class='img img-responsive center-block' src='img/choose-text-feature.png' alt='' />
</div>
<div class='panel-footer' style='font-size: 15px;'>
<p><strong>Steps 1-3</strong></p>
</div>
</div>
<div class='panel panel-default'>
<div class='panel-body' style='background:#FFFFFF'><img class='img img-responsive center-block' src='img/customize-the-feature.png' alt='' />
</div>
<div class='panel-footer' style='font-size: 15px;'>
<p><strong>Steps 4-8</strong></p>
</div>
</div>
<div class='panel panel-default'>
<div class='panel-body' style='background:#FFFFFF'><img class='img img-responsive center-block' src='img/copy-the-code.png' alt='' />
</div>
<div class='panel-footer' style='font-size: 15px;'>
<p><strong>Step 9</strong></p>
</div>
</div>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-1">
<h1 class='short-round center-block' style='font-size: 20px; height: 44px; width: 44px; padding: 8px; border-radius: 50px; background: #5bc0de;'>2</h1>
</div>
<div class="col-sm-5">
<h5>Embed and Edit Your Feature</h5>
<p><em>Now, in your Library guide, create a Rich Text / HTML content item and paste the feature code you copied in the Source window.</em></p>
<table class='table numbered-steps'>
<thead></thead>
<tbody>
<tr>
<td style='width:45px'>0</td>
<td>Click on the <a role='button' class='btn btn-xs btn-default' target='_blank' href='' target='blank'><i class="fa fa-cog fa-spacer-right" aria-hidden="true"></i>Add / Reorder <i class="fa fa-caret-down" aria-hidden="true"></i></a> dropdown to add a <code>Rich Text / HTML</code> content item to your box.</td>
</tr>
<tr>
<td>1</td>
<td>Select the <p class='text-left' style="display:inline"><a role='button' class='btn btn-dim btn-xs' target='_blank' href='' target='blank'><i class="fa fa-file-code-o fa-spacer-right" aria-hidden="true"></i>Source</a></p> button. This will reveal the code-editing window. <em>Note: all other buttons on the toolbar should now be dimmed.</em></td>
</tr>
<tr>
<td>2</td>
<td>Enter the feature code you just copied into the text window.</td>
</tr>
<tr>
<td>3</td>
<td>Make any edits necessary to your feature and click <p class='text-center' style="display:inline"><a role='button' class='btn btn-xs btn-primary' target='_blank' href='' target='blank'>Save & Close</a></p>.</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-6">
<div class='panel panel-default'>
<div class='panel-body' style='background:#FFFFFF'><img class='img img-responsive center-block' src='img/rich-text-source.png' alt='screen capture of reusing an existing box' /></div>
<div class='panel-footer' style='font-size: 15px;'>
<p><strong>Steps 1-3</strong></p>
</div>
</div>
</div>
</div>
</div>
<!--/right-->
</div>
<!--/row-->
</div>
<!--/container-->
</div>
<!-- .container -->
<!-- Main Content closes ----------------------------->
<div class="modal" id="typographyModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<a href="" style="display:block;"><h1 class='short-round pull-right' style='font-size: 24px; height: 60px; width: 60px; padding: 10px; border-radius: 60px; background: #d9534f;' class="close" data-dismiss="modal" aria-label="Close"><i class="fa fa-times" aria-hidden="true"></i></h1></a>
<h1 class="modal-title pull-left" id="myModalLabel" style="opacity:.4;padding-left: 50px;">Typographic Hierarchy</h4>
</div>
<div class="modal-body">
<div class="container">
<div class="col-sm-12">
<table class='table table-striped' id="hierarchy-table">
<thead></thead>
<tbody>
<tr>
<td style='width: 15%'> <h3>h3</h3> </td>
<td style='width: 85%'> <h3>The Canons of Rhetoric</h3> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>There are 5 canons of rhetoric. The mnemonic M.A.I.D.S. makes it easy to remember them as <strong>Memory</strong>, <strong>Arrangement</strong>, <strong>Invention</strong>, <strong>Delivery</strong>, and <strong>Style</strong>.</p> </td>
</tr>
<tr>
<td> <h4>h4</h4> </td>
<td> <h4>Memory</h4> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>Memory has, in part, to do with mnemonics (memory aids) that would assist a budding orator in retaining his speech. However, it clearly had to do with more than simply learning how to memorize an already composed speech for re-presentation.</p> </td>
</tr>
<tr>
<td> <h4>h4</h4> </td>
<td> <h4>Style</h4> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> Style concerns the artful expression of ideas. If invention addresses what is to be said; style addresses how this will be said.</td>
</tr>
<tr>
<td> <h5>h5</h5> </td>
<td> <h5>Virtues of Style</h5> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> Five encompassing concerns of style which relate style to grammar, audience, effective and affective appeals, the guiding principle of decorum, and the importance of ornamenting language through figurative speech. </td>
</tr>
<tr>
<td> <h6>h6</h6> </td>
<td> <h6>Correctness of Style</h6> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> Correctness or purity is that quality of style by which one speaks or writes in a manner consistent with a given language's norms (consuetudo, usus). </td>
</tr>
<tr>
<td> <h6>h6</h6> </td>
<td> <h6>Clarity of Style</h6> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>Clarity (perspicuitas), closely related to correctness or purity (above), is that quality of style by which language is intelligible.</p> </td>
</tr>
<tr>
<td> <h6>h6</h6> </td>
<td> <h6>Evidence of Style</h6> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>"Evidence" does not mean logical proof, but as the Latin root of this word suggests, it refers to that which comes before the eyes.</p> </td>
</tr>
<tr>
<td> <h6>h6</h6> </td>
<td> <h6>Propriety of Style</h6> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>Although listed as a quality of style, propriety is of course a controlling principle for all of rhetoric, known better by the Latin term decorum. With respect to style, it is necessary that the words be aptly fit to the subject matter.</p> </td>
</tr>
<tr>
<td> <h6>h6</h6> </td>
<td> <h6>Ornateness of Style</h6> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> This quality of style refers to the various aesthetic qualities of language so fully illustrated among the various figures of speech.</td>
</tr>
<tr>
<td> <h5>h5</h5> </td>
<td> <h5>Levels of Style</h5> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>From the Roman tradition three levels of style have been laid out, each suited to one of three distinct rhetorical purposes.</p> </td>
</tr>
<tr>
<td> <h5>h5</h5> </td>
<td> <h5>Qualities of Style</h5> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>A large descriptive terminology has been developed to critique the qualities of style. These are interpretive in nature, and overlap broadly with figures of speech or the virtues and levels of style.</p> </td>
</tr>
<tr>
<td> <h5>h5</h5> </td>
<td> <h5>Figures of Speech</h5> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>Sometimes considered part of "ornateness" (one of the Virtues of Style), and sometimes taken to represent the whole of rhetoric, the rhetorical figures constitute a vast technical vocabulary naming ways that both ideas and language have been configured.</p> </td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-12">
<!-- Alert note ----------------------------------->
<div class='alert alert-default' role='alert'><p><i class='fa fa-info-circle fa-spacer-right' aria-hidden='true'></i>Rhetorical primer excerpted from the <a href="http://rhetoric.byu.edu/" target="_blank"><em>Silva Rhetoricae</em></a>. <em>Arrangement</em>, <em>Invention</em>, and <em>Delivery</em> canons omitted.</p></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer ----------------------------->
<div id="handbook-footer">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-sm-6">
<i class="fa fa-copyright" aria-hidden="true"></i><span id="thisYear"></span> University of Notre Dame
</div>
<div class="col-xs-12 col-sm-6">
<p class="text-right"><a href="https://github.com/randal-sean-harrison/handbook" target="_blank"><i class="fa fa-github fa-spacer-right" aria-hidden="true"></i>randal-sean-harrison/handbook</a></p>
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-3.2.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<!-- Include for the Back to top button -->
<script src="js/back-to-top.js"></script>
<!-- Scrollspy / affix js -->
<script src="js/scripts.js"></script>
<!-- html include script -->
<script src="https://www.w3schools.com/lib/w3data.js"></script>
<script>
w3IncludeHTML();
</script>
<!-- clipboard.js include -->
<script src="js/clipboard.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// Add the active classes to the nav menu
$(".navcontent").addClass("active");
$(".navrichtext").addClass("active");
});
</script>
<!-- add the active class to the correct tab and submenu element -->
</body>
</html>