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

[Feature request] Ability to post multiple table data into chart on CKEditor Chart plugin #6

Open
MurzNN opened this issue Sep 12, 2016 · 3 comments

Comments

@MurzNN
Copy link

MurzNN commented Sep 12, 2016

Very often we have chart data as table with name-value columns (for example, in Excel-like xls file or table in browser page). At now we must manually fill each value by hands, and if values is many, this is too long work.

Will be good to have ability to paste table data from clipboard in one field (for example - data rows separated by tabulation) and script will parse them, and build the chart.

So we can add button "Import from clipboard" that replace current form with textarea, and function that converts text rows with tabulation to array. Can you add something like this in your plugin?

@MurzNN MurzNN changed the title [Feature request] Ability to post multiple table data into chart on CKEditor Chart [Feature request] Ability to post multiple table data into chart on CKEditor Chart plugin Sep 12, 2016
@wwalc
Copy link
Owner

wwalc commented Oct 1, 2016

Interesting idea, I was in fact wondering on how to make it easier to enter lots of data. Anyway, a pull request would definitely speed up things ;-)

@MurzNN
Copy link
Author

MurzNN commented Oct 2, 2016

We can initialise in popup window new ckeditor instance with minimal interface and only table, tr, td tags allowed. So users can fill in it any table data (create-remove rows, columns), also will be allowed clipboard paste from html tables, Libreoffice calc and other formats.

@MurzNN
Copy link
Author

MurzNN commented Sep 16, 2019

Any news about this feature? I imlement same feature in my custom website code, and it works very good for users!
Here is screenshot of chart settings modal window:

and here is resulting chart:

As implementation, in modal window I render new ckeditor instance, that limited only to table, tr, td tags, and users can easily paste any table into it from clipboard.

More info here https://www.drupal.org/project/charts/issues/3032169

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

No branches or pull requests

2 participants