Skip to content
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

When selecting a table, a drag-cursor-symbol appears - but without function #4882

Open
SKPFCW opened this issue Feb 24, 2025 · 3 comments
Open

Comments

@SKPFCW
Copy link

SKPFCW commented Feb 24, 2025

Hi erveyone.

I can't figure out the function of the drag cursor icon that appears when I select the outer table-borders. The symbol cannot be grabbed with the mouse or the table cannot be moved with it.
Am I misunderstanding the symbol?

Image

@ursoforte
Copy link

I'm also struggling to figure out a way to remove this in Froala 4.5. Ideally, there would be an option in the editor to Disable these CSS classes.

Digging deeper, I found out that it's a Froala adding a CSS class to the "fr-table-selector" table, "fr-table-selected". I'm thinking of creating some JS code to remove the class once it's added. Or clearing the "fr-table-selected {}" CSS.

In the Froala Table plugin:
4bd522a#diff-45a45230874bba2c64b98261a9f68f690bc89e812bdbcd6f69a40583b6e610ccR62

Waiting for Froala's DEV team to write a better solution.

@ursoforte
Copy link

Sorry, the example does not work very well with jQuery.
Example with jQuery:
$el.find('table').removeClass('fr-table-selector fr-table-selector-active fr-table-selected fr-table-selector-active-selected');

Keep the version in Froala 4.4 😭

@peca11
Copy link

peca11 commented Mar 26, 2025

@SKPFCW Don't know if this helps.. I had the same doubt. I just found on the release notes that the icon is for pasting excel cells - https://froala.com/blog/editor/new-releases/froala-editor-v4-5/#pasting-multiple-cells-from-excel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants