DataTables / DataTables/Plugins

CKEditor plugin on mobile device: "Cannot read property 'setData' of null"

Open
#155 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I mentioned this issue in a previous email, just wanted to give it a little more background.

When testing on mobile devices, and you click the inline 'Edit' button that brings up a CKEditor input, the following error appears:

Cannot read property 'setData' of null

The input becomes a plain HTML input, not a CKEditor input. Then when the Editor lightbox is closed, this error appears:

Cannot read property 'destroy' of null

Another instance of when this error occurs is on a desktop, and if a cell uses both Bubble editing and the CKEditor plugin, and I click that cell three or more times quickly in succession, these errors appear.

alerror

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the mobile inline Edit flow and the rapid repeated clicks on a cell using Bubble editing with the CKEditor plugin. Trace the editor lifecycle around the reported setData and destroy errors; done means the CKEditor input appears and closes without either null-property error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.