CKEditor Classic
CKEditor is a proven, enterprise-grade WYSIWYG HTML editor with wide browser compatibility, including legacy browsers.
For more info please visit the plugin's Demo Page or Github Repo.
For more info please visit the plugin's Demo Page or Github Repo.
Classic Default Classic Demo
<div class="card card-custom">
<div class="card-header">
<h3 class="card-title">
Classic Default Classic Demo
</h3>
</div>
<div class="card-body">
<textarea name="kt-ckeditor-1" id="kt-ckeditor-1">
<h1>Quick and simple CKEditor 5 Integration</h1>
<p>Here goes the initial content of the editor. Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled. Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
<h3>Flexible & Powerful</h3>
<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled.</p>
<p>Lorem ipsum dolor sit amet,consectetuer edipiscing elit,sed diam nonummy nibh euismod tinciduntut laoreet doloremagna aliquam erat volutpat.Ut wisi enim ad minim veniam,quis nostrud exerci tation ullamcorper. Lorem ipsum dolor sit amet,consectetuer edipiscing elit,sed diam nonummy nibh euismod tinciduntut laoreet doloremagna aliquam erat volutpat.Ut wisi enim ad minim veniam,quis nostrud exerci tation ullamcorper.</p>
<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</p>
</textarea>
</div>
</div>
// Class definition
var KTCkeditor = function () {
// Private functions
var demos = function () {
ClassicEditor
.create( document.querySelector( '#kt-ckeditor-1' ) )
.then( editor => {
console.log( editor );
} )
.catch( error => {
console.error( error );
} );
}
return {
// public functions
init: function() {
demos();
}
};
}();
// Initialization
jQuery(document).ready(function() {
KTCkeditor.init();
});
Classic Demo with multiple font styles
<div class="card card-custom">
<div class="card-header">
<h3 class="card-title">
Classic Demo with multiple font styles
</h3>
</div>
<div class="card-body">
<textarea name="kt-ckeditor-2" id="kt-ckeditor-2">
<h1>Quick and simple CKEditor 5 Integration</h1>
<p>Here goes the <a href="#">Minitial content of the editor</a>. Lorem Ipsum is simply dummy text of the <em>printing and typesetting</em> industry.</p>
<blockquote>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled. Lorem Ipsum is simply dummy text of the printing and typesetting industry.</blockquote>
<h3>Flexible & Powerful</h3>
<p><strong>Lorem Ipsum has been the industry's</strong> standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled.</p>
<ul>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
<li>List item 4</li>
</ul>
</textarea>
</div>
</div>
// Class definition
var KTCkeditor = function () {
// Private functions
var demos = function () {
ClassicEditor
.create( document.querySelector( '#kt-ckeditor-2' ) )
.then( editor => {
console.log( editor );
} )
.catch( error => {
console.error( error );
} );
}
return {
// public functions
init: function() {
demos();
}
};
}();
// Initialization
jQuery(document).ready(function() {
KTCkeditor.init();
});
Classic Demo with images
<div class="card card-custom">
<div class="card-header">
<h3 class="card-title">
Classic Demo with images
</h3>
</div>
<div class="card-body">
<textarea name="kt-ckeditor-4" id="kt-ckeditor-3">
<h1>Quick and simple CKEditor 5 Integration</h1>
<figure class="image"><img src="<?php echo Page::getMediaPath();?>stock-600x400/img-1.jpg" alt="Metronic CKEditor Demo"/></figure>
Here goes the <a href="#">Minitial content of the editor</a>. Lorem Ipsum is simply dummy text of the <em>printing and typesetting</em> industry.
</textarea>
</div>
</div>
// Class definition
var KTCkeditor = function () {
// Private functions
var demos = function () {
ClassicEditor
.create( document.querySelector( '#kt-ckeditor-3' ) )
.then( editor => {
console.log( editor );
} )
.catch( error => {
console.error( error );
} );
}
return {
// public functions
init: function() {
demos();
}
};
}();
// Initialization
jQuery(document).ready(function() {
KTCkeditor.init();
});
Classic Demo with Videos
<div class="card card-custom">
<div class="card-header">
<h3 class="card-title">
Classic Demo with Videos
</h3>
</div>
<div class="card-body">
<textarea name="kt-ckeditor-4" id="kt-ckeditor-4">
<h1>Easy Media Embeds</h1>
<figure class="symbol">
<oembed url="https://www.youtube.com/watch?v=gMUbZMdDRCo"></oembed>
</figure>
<p>Lorem ipsum dolor sit amet,consectetuer edipiscing elit,sed diam nonummy nibh euismod tinciduntut laoreet doloremagna aliquam erat volutpat.Ut wisi enim ad minim veniam,quis nostrud exerci tation ullamcorper. Lorem ipsum dolor sit amet,consectetuer edipiscing elit,sed diam nonummy nibh euismod tinciduntut laoreet doloremagna aliquam erat volutpat.Ut wisi enim ad minim veniam,quis nostrud exerci tation ullamcorper.</p>
</textarea>
</div>
</div>
// Class definition
var KTCkeditor = function () {
// Private functions
var demos = function () {
ClassicEditor
.create( document.querySelector( '#kt-ckeditor-4' ) )
.then( editor => {
console.log( editor );
} )
.catch( error => {
console.error( error );
} );
}
return {
// public functions
init: function() {
demos();
}
};
}();
// Initialization
jQuery(document).ready(function() {
KTCkeditor.init();
});
Large Classic Demo
<div class="card card-custom">
<div class="card-header">
<div class="card-title">
<h3 class="card-title">
Large Classic Demo
</h3>
</div>
</div>
<div class="card-body">
<textarea name="kt-ckeditor-5" id="kt-ckeditor-5">
<h1>Quick and simple CKEditor 5 Integration</h1>
<p>Here goes the <a href="#">Minitial content of the editor</a>. Lorem Ipsum is simply dummy text of the <em>printing and typesetting</em> industry.</p>
<blockquote>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled. Lorem Ipsum is simply dummy text of the printing and typesetting industry.</blockquote>
<ul>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
<li>List item 4</li>
</ul>
<figure class="image"><img src="<?php echo Page::getMediaPath();?>stock-600x400/img-1.jpg" alt="Metronic CKEditor Demo"/></figure>
Here goes the <a href="#">Minitial content of the editor</a>. Lorem Ipsum is simply dummy text of the <em>printing and typesetting</em> industry.
<h1>Easy Media Embeds</h1>
<figure class="symbol">
<oembed url="https://www.youtube.com/watch?v=d-pSVf8Xazk"></oembed>
</figure>
<p>Lorem ipsum dolor sit amet,consectetuer edipiscing elit,sed diam nonummy nibh euismod tinciduntut laoreet doloremagna aliquam erat volutpat.Ut wisi enim ad minim veniam,quis nostrud exerci tation ullamcorper. Lorem ipsum dolor sit amet,consectetuer edipiscing elit,sed diam nonummy nibh euismod tinciduntut laoreet doloremagna aliquam erat volutpat.Ut wisi enim ad minim veniam,quis nostrud exerci tation ullamcorper.</p>
</textarea>
</div>
</div>
// Class definition
var KTCkeditor = function () {
// Private functions
var demos = function () {
ClassicEditor
.create( document.querySelector( '#kt-ckeditor-5' ) )
.then( editor => {
console.log( editor );
} )
.catch( error => {
console.error( error );
} );
}
return {
// public functions
init: function() {
demos();
}
};
}();
// Initialization
jQuery(document).ready(function() {
KTCkeditor.init();
});