Here goes the Minitial content of the editor. Lorem Ipsum is simply dummy text of the printing and typesettingindustry.
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.
Lorem Ipsum has been the industry'sstandard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled.
<div class="card card-custom">
<div class="card-header">
<h3 class="card-title">
Decoupled Document Demo
</h3>
</div>
<div class="card-body">
<div id="kt-ckeditor-1-toolbar"></div>
<div id="kt-ckeditor-1">
<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>
</div>
</div>
</div>
// Class definition
var KTCkeditorDocument = function () {
// Private functions
var demos = function () {
DecoupledEditor
.create( document.querySelector( '#kt-ckeditor-1' ) )
.then( editor => {
const toolbarContainer = document.querySelector( '#kt-ckeditor-1-toolbar' );
toolbarContainer.appendChild( editor.ui.view.toolbar.element );
} )
.catch( error => {
console.error( error );
} );
}
return {
// public functions
init: function() {
demos();
}
};
}();
// Initialization
jQuery(document).ready(function() {
KTCkeditorDocument.init();
});
<div class="card card-custom">
<div class="card-header">
<h3 class="card-title">
Decoupled Document Demo with Images
</h3>
</div>
<div class="card-body">
<div id="kt-ckeditor-2-toolbar"></div>
<div id="kt-ckeditor-2">
<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.
</div>
</div>
</div>
// Class definition
var KTCkeditorDocument = function () {
// Private functions
var demos = function () {
DecoupledEditor
.create( document.querySelector( '#kt-ckeditor-2' ) )
.then( editor => {
const toolbarContainer = document.querySelector( '#kt-ckeditor-2-toolbar' );
toolbarContainer.appendChild( editor.ui.view.toolbar.element );
} )
.catch( error => {
console.error( error );
} );
}
return {
// public functions
init: function() {
demos();
}
};
}();
// Initialization
jQuery(document).ready(function() {
KTCkeditorDocument.init();
});
Here goes the Minitial content of the editor. Lorem Ipsum is simply dummy text of the printing and typesettingindustry.
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.
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.
<div class="card card-custom">
<div class="card-header">
<h3 class="card-title">
Decoupled Document Demo with Images & Media
</h3>
</div>
<div class="card-body">
<div id="kt-ckeditor-3-toolbar"></div>
<div id="kt-ckeditor-3">
<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>
<oembed url="https://www.youtube.com/watch?v=d-pSVf8Xazk"></oembed>
<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>
</div>
</div>
</div>
// Class definition
var KTCkeditorDocument = function () {
// Private functions
var demos = function () {
DecoupledEditor
.create( document.querySelector( '#kt-ckeditor-3' ) )
.then( editor => {
const toolbarContainer = document.querySelector( '#kt-ckeditor-3-toolbar' );
toolbarContainer.appendChild( editor.ui.view.toolbar.element );
} )
.catch( error => {
console.error( error );
} );
}
return {
// public functions
init: function() {
demos();
}
};
}();
// Initialization
jQuery(document).ready(function() {
KTCkeditorDocument.init();
});