-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
erreur-t #225
Comments
@SBonneau1985 I think we'll need some more information (e.g. a way to reproduce it in the example project in this repo) or some sample code as I haven't run into this error yet |
The error seems to only appear in Firefox (Vivaldi does not show any errors). Here is the configuration in my settings file: python CKEDITOR_5_CONFIGS = { The configuration in the form: widgets = {
'StartDate': DateTimePickerInput(format='%Y-%m-%d %H:%M:%S'),
'EndDate': DateTimePickerInput(format='%Y-%m-%d %H:%M:%S'),
'Username': forms.TextInput(attrs={'readonly': 'readonly'}),
'Equipe': forms.TextInput(attrs={'readonly': 'readonly'}),
'Operateur': forms.CheckboxInput(),
"Message": CKEditor5Widget(attrs={"class": "django_ckeditor_5"}, config_name="extends"),
}
In my models class:
python
Copy code
Message = CKEditor5Field('Text', config_name='extends', null=True, blank=True) |
The bug appears when my update page is loaded in an iframe. This causes an error T, CKEditor seems to be disabled, and the content is empty. The bug occurs only in Firefox. |
To recreate the bug, try creating an update page (
and load it in an iframe in a ListView class for each item as follows:
|
@SBonneau1985 could you create a sample repo somewhere or a PR which recreates the issue in the example blog app of this repo? I can't reproduce it locally, using an iframe works fine with a simple html file which opens the article page of the example blog app. |
Unfortunately, at the moment, I cannot share the current code (professional confidentiality). I will try to recreate a similar application, with anonymized data, when I return from vacation. Thank you. Best regards. |
Good morning,
I am using the latest version of the module and I have a error-t . How do I resolve it?
CKEditorError: t is null
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-t is null
_removeDomSelection renderer.js:804
_updateSelection renderer.js:675
render renderer.js:232
_render view.js:542
na view.js:122
fire emittermixin.js:146
change view.js:423
_setupRootLabels accessibilityhelp.js:92
fire emittermixin.js:146
init classiceditorui.js:75
create classiceditor.js:192
promise callbackcreate/< classiceditor.js:192
create classiceditor.js:189
lP app.js:92
lP app.js:48
app.js:152
EventListener.handleEvent app.js:152
app.js:178
app.js:178
app.js:110:12
lP app.js:110
(Asynchronous: promise callback)
lP app.js:108
lP app.js:48
app.js:152
(Asynchronous: EventListener.handleEvent)
app.js:152
app.js:178
app.js:178
The text was updated successfully, but these errors were encountered: