Text to Widget Importer #24558
Replies: 2 comments
|
I would like to see this feature as well. For now I use a clipboard program that allows you to copy up to 30 items such as titles or paragraphs and then paste sequentially in order. Much faster than manually copying and pasting every time. |
|
Elementor has a JS API: https://developers.elementor.com/js-api/js-api-commands/ $e.run('document/elements/create',
{
model: { elType: 'container' },
columns: 1,
container: elementor.getContainer( 'document' ),
},
);so you could try and run a puppeteer script that reads your word (https://www.npmjs.com/package/textract) file, opens your page and uses the JS API to create elements for you. Not tried it but you could look at the Elementor tests where they use some API calls for testing https://github.com/elementor/elementor/tree/main/tests/playwright to see if you can reuse that to write yourself a "bot" |
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe.
A faster workflow when building websites.
Describe the solution you'd like
A significant part of my job involves populating my clients' websites with content. Accordions, in particular, are a major time sink. It would be great if accordions, and possibly other widgets, had an import function. Suppose I have a Word document with headings and paragraphs; it would be cool if I could import this into the accordion widget, and the widget would then generate an accordion from it. All that would be left to do is the styling, and within a few seconds, you could have an accordion with 20 entries.
Describe alternatives you've considered
No response
Additional context
No response
All reactions