Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
16825 efrain 1
<!DOCTYPE html>
2
<!--
3
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
4
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
-->
6
<html lang="en">
7
<head>
8
	<meta charset="utf-8">
9
	<title>Massive inline editing &mdash; CKEditor Sample</title>
10
	<meta name="description" content="Try the latest sample of CKEditor 4 and learn more about customizing your WYSIWYG editor with endless possibilities.">
11
	<script src="../../ckeditor.js"></script>
12
	<script>
13
 
14
		// This code is generally not necessary, but it is here to demonstrate
15
		// how to customize specific editor instances on the fly. This fits well
16
		// this demo because we have editable elements (like headers) that
17
		// require less features.
18
 
19
		// The "instanceCreated" event is fired for every editor instance created.
20
		CKEDITOR.on( 'instanceCreated', function( event ) {
21
			var editor = event.editor,
22
				element = editor.element;
23
 
24
			// Customize editors for headers and tag list.
25
			// These editors don't need features like smileys, templates, iframes etc.
26
			if ( element.is( 'h1', 'h2', 'h3' ) || element.getAttribute( 'id' ) == 'taglist' ) {
27
				// Customize the editor configurations on "configLoaded" event,
28
				// which is fired after the configuration file loading and
29
				// execution. This makes it possible to change the
30
				// configurations before the editor initialization takes place.
31
				editor.on( 'configLoaded', function() {
32
 
33
					// Remove unnecessary plugins to make the editor simpler.
34
					editor.config.removePlugins = 'colorbutton,find,font,' +
35
						'forms,iframe,image,newpage,removeformat,' +
36
						'smiley,specialchar,stylescombo,templates';
37
 
38
					// Rearrange the layout of the toolbar.
39
					editor.config.toolbarGroups = [
40
						{ name: 'editing',		groups: [ 'basicstyles', 'links' ] },
41
						{ name: 'undo' },
42
						{ name: 'clipboard',	groups: [ 'selection', 'clipboard' ] },
43
						{ name: 'about' }
44
					];
45
				});
46
			}
47
		});
48
 
49
	</script>
50
	<link href="sample.css" rel="stylesheet">
51
	<style>
52
 
53
		/* The following styles are just to make the page look nice. */
54
 
55
		/* Workaround to show Arial Black in Firefox. */
56
		@font-face
57
		{
58
			font-family: 'arial-black';
59
			src: local('Arial Black');
60
		}
61
 
62
		*[contenteditable="true"]
63
		{
64
			padding: 10px;
65
		}
66
 
67
		#container
68
		{
69
			width: 960px;
70
			margin: 30px auto 0;
71
		}
72
 
73
		#header
74
		{
75
			overflow: hidden;
76
			padding: 0 0 30px;
77
			border-bottom: 5px solid #05B2D2;
78
			position: relative;
79
		}
80
 
81
		#headerLeft,
82
		#headerRight
83
		{
84
			width: 49%;
85
			overflow: hidden;
86
		}
87
 
88
		#headerLeft
89
		{
90
			float: left;
91
			padding: 10px 1px 1px;
92
		}
93
 
94
		#headerLeft h2,
95
		#headerLeft h3
96
		{
97
			text-align: right;
98
			margin: 0;
99
			overflow: hidden;
100
			font-weight: normal;
101
		}
102
 
103
		#headerLeft h2
104
		{
105
			font-family: "Arial Black",arial-black;
106
			font-size: 4.6em;
107
			line-height: 1.1;
108
			text-transform: uppercase;
109
		}
110
 
111
		#headerLeft h3
112
		{
113
			font-size: 2.3em;
114
			line-height: 1.1;
115
			margin: .2em 0 0;
116
			color: #666;
117
		}
118
 
119
		#headerRight
120
		{
121
			float: right;
122
			padding: 1px;
123
		}
124
 
125
		#headerRight p
126
		{
127
			line-height: 1.8;
128
			text-align: justify;
129
			margin: 0;
130
		}
131
 
132
		#headerRight p + p
133
		{
134
			margin-top: 20px;
135
		}
136
 
137
		#headerRight > div
138
		{
139
			padding: 20px;
140
			margin: 0 0 0 30px;
141
			font-size: 1.4em;
142
			color: #666;
143
		}
144
 
145
		#columns
146
		{
147
			color: #333;
148
			overflow: hidden;
149
			padding: 20px 0;
150
		}
151
 
152
		#columns > div
153
		{
154
			float: left;
155
			width: 33.3%;
156
		}
157
 
158
		#columns #column1 > div
159
		{
160
			margin-left: 1px;
161
		}
162
 
163
		#columns #column3 > div
164
		{
165
			margin-right: 1px;
166
		}
167
 
168
		#columns > div > div
169
		{
170
			margin: 0px 10px;
171
			padding: 10px 20px;
172
		}
173
 
174
		#columns blockquote
175
		{
176
			margin-left: 15px;
177
		}
178
 
179
		#tagLine
180
		{
181
			border-top: 5px solid #05B2D2;
182
			padding-top: 20px;
183
		}
184
 
185
		#taglist {
186
			display: inline-block;
187
			margin-left: 20px;
188
			font-weight: bold;
189
			margin: 0 0 0 20px;
190
		}
191
 
192
	</style>
193
</head>
194
<body>
195
<div>
196
	<h1 class="samples"><a href="index.html">CKEditor Samples</a> &raquo; Massive inline editing</h1>
197
	<div class="warning deprecated">
198
		This sample is not maintained anymore. Check out its <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/inline.html">brand new version in CKEditor Examples</a>.
199
	</div>
200
	<div class="description">
201
		<p>This sample page demonstrates the inline editing feature - CKEditor instances will be created automatically from page elements with <strong>contentEditable</strong> attribute set to value <strong>true</strong>:</p>
202
		<pre class="samples">&lt;div <strong>contenteditable="true</strong>" &gt; ... &lt;/div&gt;</pre>
203
		<p>Click inside of any element below to start editing.</p>
204
	</div>
205
</div>
206
<div id="container">
207
	<div id="header">
208
		<div id="headerLeft">
209
			<h2 id="sampleTitle" contenteditable="true">
210
				CKEditor<br> Goes Inline!
211
			</h2>
212
			<h3 contenteditable="true">
213
				Lorem ipsum dolor sit amet dolor duis blandit vestibulum faucibus a, tortor.
214
			</h3>
215
		</div>
216
		<div id="headerRight">
217
			<div contenteditable="true">
218
				<p>
219
					Lorem ipsum dolor sit amet enim. Etiam ullamcorper. Suspendisse a pellentesque dui, non felis. Maecenas malesuada elit lectus felis, malesuada ultricies.
220
				</p>
221
				<p>
222
					Curabitur et ligula. Ut molestie a, ultricies porta urna. Vestibulum commodo volutpat a, convallis ac, laoreet enim. Phasellus fermentum in, dolor. Pellentesque facilisis. Nulla imperdiet sit amet magna. Vestibulum dapibus, mauris nec malesuada fames ac.
223
				</p>
224
			</div>
225
		</div>
226
	</div>
227
	<div id="columns">
228
		<div id="column1">
229
			<div contenteditable="true">
230
				<h3>
231
					Fusce vitae porttitor
232
				</h3>
233
				<p>
234
					<strong>
235
						Lorem ipsum dolor sit amet dolor. Duis blandit vestibulum faucibus a, tortor.
236
					</strong>
237
				</p>
238
				<p>
239
					Proin nunc justo felis mollis tincidunt, risus risus pede, posuere cubilia Curae, Nullam euismod, enim. Etiam nibh ultricies dolor ac dignissim erat volutpat. Vivamus fermentum <a href="https://ckeditor.com/">nisl nulla sem in</a> metus. Maecenas wisi. Donec nec erat volutpat.
240
				</p>
241
				<blockquote>
242
					<p>
243
						Fusce vitae porttitor a, euismod convallis nisl, blandit risus tortor, pretium.
244
						Vehicula vitae, imperdiet vel, ornare enim vel sodales rutrum
245
					</p>
246
				</blockquote>
247
				<blockquote>
248
					<p>
249
						Libero nunc, rhoncus ante ipsum non ipsum. Nunc eleifend pede turpis id sollicitudin fringilla. Phasellus ultrices, velit ac arcu.
250
					</p>
251
				</blockquote>
252
				<p>Pellentesque nunc. Donec suscipit erat. Pellentesque habitant morbi tristique ullamcorper.</p>
253
				<p><s>Mauris mattis feugiat lectus nec mauris. Nullam vitae ante.</s></p>
254
			</div>
255
		</div>
256
		<div id="column2">
257
			<div contenteditable="true">
258
				<h3>
259
					Integer condimentum sit amet
260
				</h3>
261
				<p>
262
					<strong>Aenean nonummy a, mattis varius. Cras aliquet.</strong>
263
					Praesent <a href="https://ckeditor.com/">magna non mattis ac, rhoncus nunc</a>, rhoncus eget, cursus pulvinar mollis.</p>
264
				<p>Proin id nibh. Sed eu libero posuere sed, lectus. Phasellus dui gravida gravida feugiat mattis ac, felis.</p>
265
				<p>Integer condimentum sit amet, tempor elit odio, a dolor non ante at sapien. Sed ac lectus. Nulla ligula quis eleifend mi, id leo velit pede cursus arcu id nulla ac lectus. Phasellus vestibulum. Nunc viverra enim quis diam.</p>
266
			</div>
267
			<div contenteditable="true">
268
				<h3>
269
					Praesent wisi accumsan sit amet nibh
270
				</h3>
271
				<p>Donec ullamcorper, risus tortor, pretium porttitor. Morbi quam quis lectus non leo.</p>
272
				<p style="margin-left: 40px; ">Integer faucibus scelerisque. Proin faucibus at, aliquet vulputate, odio at eros. Fusce <a href="https://ckeditor.com/">gravida, erat vitae augue</a>. Fusce urna fringilla gravida.</p>
273
				<p>In hac habitasse platea dictumst. Praesent wisi accumsan sit amet nibh. Maecenas orci luctus a, lacinia quam sem, posuere commodo, odio condimentum tempor, pede semper risus. Suspendisse pede. In hac habitasse platea dictumst. Nam sed laoreet sit amet erat. Integer.</p>
274
			</div>
275
		</div>
276
		<div id="column3">
277
			<div contenteditable="true">
278
				<p>
279
					<img src="assets/inlineall/logo.png" alt="CKEditor logo" style="float:left">
280
				</p>
281
				<p>Quisque justo neque, mattis sed, fermentum ultrices <strong>posuere cubilia Curae</strong>, Vestibulum elit metus, quis placerat ut, lectus. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi.</p>
282
				<h3>
283
					Nullam laoreet vel consectetuer tellus suscipit
284
				</h3>
285
				<ul>
286
					<li>Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis.</li>
287
					<li>Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi.</li>
288
					<li>Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.</li>
289
				</ul>
290
				<p>Quisque justo neque, mattis sed, <a href="https://ckeditor.com/">fermentum ultrices posuere cubilia</a> Curae, Vestibulum elit metus, quis placerat ut, lectus.</p>
291
				<p>Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis.</p>
292
				<p>Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi. Sed in nonummy faucibus turpis. Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.</p>
293
			</div>
294
		</div>
295
	</div>
296
	<div id="tagLine">
297
		Tags of this article:
298
		<p id="taglist" contenteditable="true">
299
			inline, editing, floating, CKEditor
300
		</p>
301
	</div>
302
</div>
303
<div id="footer">
304
	<hr>
305
	<p>
306
		CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">
307
			https://ckeditor.com</a>
308
	</p>
309
	<p id="copy">
310
		Copyright &copy; 2003-2021, <a class="samples" href="https://cksource.com/">CKSource</a>
311
		- Frederico Knabben. All rights reserved.
312
	</p>
313
</div>
314
</body>
315
</html>