Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Editor & Inputs › What’s the Vue way to debounce input events in Editor?
Tagged: editor, smart editor
Is there a way to load remote content dynamically in Smart Editor using web?
Hi,
yes, this is possible.
<smart-editor id="editor"></smart-editor> <script> window.onload = async () => { const editor = document.getElementById('editor'); // Load remote content const response = await fetch("https://example.com/article.html"); const html = await response.text(); // Set the HTML content inside the editor editor.value = html; }; </script>
Best regards, Markov
Smart UI Team https://www.htmlelements.com/