Create a new thing from API? (TINY WYSIWYG editor)

Hello, im trying to create a new thing from the TINY editor that i have pasted the API code inside of a HTML element.

I have no idea how to create a new thing of the text i wrote in that box?
This is what i pasted in the HTML element, and the text editor is visable on the page:

<!-- Place the first <script> tag in your HTML's <head> -->
<script src="https://cdn.tiny.cloud/1/API-CODE/tinymce/7/tinymce.min.js" referrerpolicy="origin"></script>

<!-- Place the following <script> and <textarea> tags your HTML's <body> -->
<script>
  tinymce.init({
    selector: 'textarea',
    plugins: 'anchor autolink charmap codesample emoticons image link lists media searchreplace table visualblocks wordcount linkchecker',
    toolbar: 'undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table | align lineheight | numlist bullist indent outdent | emoticons charmap | removeformat',
  });
</script>
<textarea>
  Welcome to TinyMCE!
</textarea>

Thankful for any help :slight_smile:

If you don’t use JS toolbox or build a plugin, this is not possible. (It could be possible if you do a change into a Bubble native input, at this moment, you could use input field has changed trigger)
There’s already a lot of topic about how to use toolbox plugin.

Interesting, thanks! How would i go about changing it to bubble native inputs? with IDs? Is it possible to point me to some post/tutorial? :slight_smile:

I don’t think there’s any tutorial but you can probably search google (or ask chatGPT) to find JS script to update an input using ID (in Bubble, you need to set Attribute ID, that need to be activated in settings)

Any reason to not use existing RTE plugins?

I cant seem to find a good one, that is offering the new updates that TINY is offering sadly

1 Like

I have tried all the TINY plugins now and none is working correctly sadly… any idea how to implement it?

Hi @Orbit do you have any success implement the TINY plugin. I have the same needs right now.

Hi, sorry for the late reply. No i have contacted Bubble support but they could not help me because its not related to bubble.

This topic was automatically closed after 70 days. New replies are no longer allowed.