CkEditor

CkEditor

marianidiegomarianidiego Posts: 54Questions: 17Answers: 1
edited January 2023 in Plug-ins

Suddenly, my ckeditor does not work. And I cannot understand why. The browser does not give me any errors.

Jquery:
<script src="https://code.jquery.com/jquery-3.6.3.min.js"></script>

Ckeditor:

<script src="../all/class/Editor-PHP/js/editor.ckeditor5.js"></script>

My Editor:
...
fields: [
{
label: "DESC:",
name: "description",
type: "ckeditorBalloon"
},
...

My "window" variable from the browser console:
Window {window: Window, self: Window, document: document, name: '', location: Location, …}
$: ƒ (e,t)
$jscomp: {scope: {…}, ASSUME_ES5: false, ASSUME_NO_NATIVE_MAP: false, ASSUME_NO_NATIVE_SET: false, findInternal: ƒ, …}
$jscomp$lookupPolyfilledValue: ƒ (d,r)
$AcroForm: {Appearance: {…}}
BalloonEditor: class rC
Button: ƒ AcroFormButton()
CKEDITOR_TRANSLATIONS: {en: {…}}
CKEDITOR_VERSION: "35.4.0"
CheckBox: ƒ AcroFormCheckBox()
...

Where could the problem be?

Best regards

Diego

Answers

  • kthorngrenkthorngren Posts: 21,316Questions: 26Answers: 4,948

    Its impossible to say with just a code snippet. Can you post a link to your page or a test case replicating the issue so we can help debug?
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Have you made any changes to the page?

    Kevin

  • marianidiegomarianidiego Posts: 54Questions: 17Answers: 1

    The strange thing is that **ckeditorClassic **works. But **ckeditorInline **and **ckeditorBalloon **not.
    I cannot understand the cause.

  • kthorngrenkthorngren Posts: 21,316Questions: 26Answers: 4,948
    edited January 2023

    Are you loading the appropriate CKEditor library build for the editor (ckeditorInline or ckeditorBalloon) you want to use?

    Can you post a link to a test case showing the issue so we can help debug?

    Kevin

  • marianidiegomarianidiego Posts: 54Questions: 17Answers: 1

    I like to use the standard libraries.

  • kthorngrenkthorngren Posts: 21,316Questions: 26Answers: 4,948

    Ok. It sounds like you want to use ckeditorClassic and it works. Is this true or do you have other questions or issues?

    Kevin

Sign In or Register to comment.