Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70791

Cannot find name CKEDITOR Ionic 4

$
0
0

@ionian wrote:

Hi,i am working on an Ionic project. I am trying to integrate CKEditor library. I am getting some problems though. My code is as follows:

import ‘ckeditor/ckeditor’;

var textarea = document.getElementById(‘editor1’);
textarea.textContent=currentText;

CKEDITOR.replace(document.getElementById( ‘editor1’ ), {
toolbarGroups: [{
“name”: “basicstyles”,
“groups”: [“basicstyles”]
}
],
removeButtons: ‘Underline,Strike,Subscript,Superscript,Anchor,Styles,Specialchar’
});

When i try this: declare var CKEDITOR: any;
it is working on the browser ,but not on the iPad. On the device it is not visible at all.
I was wondering ,if you could help me ,please?
Thank you in advance.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70791

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>