yabab-dev / ng2-ckeditor

Angular2 CKEditor component
MIT License
358 stars 96 forks source link

table selection is not working. #325

Open sachinmishra007 opened 2 years ago

sachinmishra007 commented 2 years ago

Hi Team,

I have used ng2-ckeditor in my angular application. Currently I am facing issue related to table selection is not working inside the ck editor component.

When I first time load the component everything works find including the table selection as well. However when I again load the instance of same component the table selection does not work here.

I am loading the ck editor inside the bootstrap modal window.

kzimny commented 2 years ago

Could you please explain a little bit more what is a table selection? How do you select the table? Does the focus not work or are you going to select the table settings? What is exactly not working?

sachinmishra007 commented 2 years ago

I am not able to select the table cell. That is why cell property on right click not appearing.

However I would able to see and select the cell when the grid is first time loading

kzimny commented 2 years ago

I think the described behavior depends on your component rather on ng2-ckeditor. If you load the editor in modal window, close it and open again you will get new instance of ckeditor. Of course it depends on how you instance is created, but this has nothing to do with ng2-ckeditor.

sachinmishra007 commented 2 years ago

That is correct but with new ck-editor instance table cell selection is not working

sachinmishra007 commented 2 years ago

Hi @kzimny,

I could not able to reproduce the issue on the stack blitz because of the it thorws error for ckeditor unknown element despite adding to no_error_schemas. However coming back to the original issue when first lod the app i could able to select the cell in below way. image

and When I click on the close and reload the window cell icon option no longer avaiable. image