Using CKEditor 4 in the latest version via NuGet in a C# (VS - 2019) Application.
Everything seems to be fine !
But in the console the following messages are printed
[0523/173233.339:INFO:CONSOLE(21)] "[CKEDITOR] Error code: editor-element-conflict. [object Object]", source: file:///blablabla (21)
[0523/173233.340:INFO:CONSOLE(21)] "[CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#editor-element-conflict", source: file:///blablabla (21)
I used the original CKEditor's code sample and so did I !
<!DOCTYPE html>
<!--
Copyright (c) 2019-2022, Geocache Organizer - WolFox. All rights reserved.
-->
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>Title</title>
<script src="./Scripts/ckeditor/ckeditor.js"></script>
<style>
body {
overflow: hidden
}
</style>
<!--***********
*** Events ***
************-->
<script>
function onInstanceReady(evt) { }
function OnResize() { }
function onChange(e) { }
function onDataReady(e) { }
function onKeyup(e) { }
</script>
<!--***************
*** Property ***
****************-->
<script>
function getData() { }
function setData(pData) { }
function setBackColor(pColor) { }
</script>
</head>
<body>
<textarea class="ckeditor" cols="80" id="HTMLEditor" name="HTMLEditor" rows="10"></textarea>
<script>
// Replace the <textarea id='HTMLEditor'> with an CKEditor instance.
CKEDITOR.replace('HTMLEditor');
CKEDITOR.instances.HTMLEditor.on('instanceReady', onInstanceReady);
CKEDITOR.instances.HTMLEditor.on('change', onChange);
CKEDITOR.instances.HTMLEditor.on('keyup', onKeyup);
</script>
</body>
</html>
Does somebody have an explanation ?
I have a basic config.js file.
Thx for your help !