β
Link to plugin page: https://zeroqode.com/plugin/zq-rich-text-editor-1527080205468x894712503856267300
Demo to preview the settings
β
β
Introduction
This no-code plugin enables you to integrate a fully functional Rich Text Editor into your Bubble app. The plugin offers extensive features and settings that make it a useful RTE.
Some of the supported features include lightweight (display) mode, mentions, hashtags, image pasting from the clipboard, content saving in browser storage, and many more.
How to setup
Place the required elements on the page and fill in the fields. You can find a more detailed configuration of each element on the plugin demo page.
Plugin Elements Properties
This plugin has 2 (two) visual elements which can be used on the page.
ZQ RTE
This element is a clean, flat toolbar theme.
Preview
Element Fields
Title | Description | Type |
Placeholder | Editor placeholder. | text (optional) |
Initial Content | The initial content of the editor. | text (optional) |
Max Characters Allowed | Maximum characters are allowed in the editor. | number |
Read Only Mode | This option enables "read-only" mode. In this mode, you can't edit the editor. | Checkbox |
Plain Text Mode | This option enables "plain text" mode. In this mode, all content in the editor will be reset to the default font and default font size. | Checkbox |
Border Color | Border color for the editor. | Color (optional) |
Toolbar Position | Select the toolbar position. | Dropdown |
Background Color | Allows to change the background color for the toolbar. | Color |
Icons Color | Allows to change the icons' color in the toolbar. | Color |
Hover Icons Color | Allows to change the icons' color in the toolbar on hover. | Color |
Bold | Enable the "bold" feature in the toolbar. It allows you to make bold text. | Checkbox |
Italic | Enable the "italic" feature in the toolbar. It allows you to make italic text. | Checkbox |
Strike | Enable the "strike" feature in the toolbar. It allows you to make strikethrough text. | Checkbox |
Underline | Enable the "underline" feature in the toolbar. It allows you to make underlined text. | Checkbox |
Blockquote | Enable the "blockquote" feature in the toolbar. It allows you to add blockquotes in the editor. | Checkbox |
Code Block | Enable the "code block" feature in the toolbar. It allows you to add code blocks in the editor. | Checkbox |
Header | Enable the "header" dropdown in the toolbar. It allows you to add headers in the editor. | Checkbox |
Font Size | Enable the "font-size" dropdown in the toolbar. It allows you to change the text size in the editor. | Checkbox |
Default Font Size | Select the default font size for the editor. | Dropdown |
Weight | Enable the "weight" dropdown for text in the toolbar. It allows you to change the text weight in the editor. | Checkbox |
Lists | Enable the "list" feature in the toolbar. It allows you to create ordered and bullet lists in the editor. | Checkbox |
Script Text | Enable the "script text" feature in the toolbar. It allows you to create subscript and superscript text in the editor. | Checkbox |
Text Direction | Enable the "text direction" feature in the toolbar. It allows you to change the text direction in the editor, rtl, or ltr. | Checkbox |
Indentation | Enable the "indentation" feature in the toolbar. It allows you to change the text indentation level in the editor. | Checkbox |
Text Color and Background Color | Enable the "color" feature in the toolbar. It allows you to change the text color and the background color in the editor. | Checkbox |
Custom Colors | The comma-separated list of HEX colors. This list will replace the default colors in the toolbar. | text (optional) |
Alignment | Enable the "alignment" feature in the toolbar. It allows you to change the text alignment in the editor. | Checkbox |
Font | Enable the "font" dropdown for text in the toolbar. It allows you to change the text font in the editor. | Checkbox |
Default Font | Select the default font for the editor. | Dropdown |
Default Font Color | The default font color of the editor. | Color |
Custom Fonts Link | The external link for your custom font styles. | text (optional) |
Custom Fonts | The comma-separated list of custom fonts mentioned in the "Custom Fonts Link" field. This list will be appended to the start of the default list of fonts in the toolbar. | text (optional) |
Line Height | Enable the "line-height" dropdown for text in the toolbar. It allows you to change the text line height in the editor. | Checkbox |
Reset Formatting | Enable the "reset" option in the toolbar. It allows you to reset all formatting. | Checkbox |
Link | Enable the "link" option in the toolbar. It allows you to attach links to the text in the editor. | Checkbox |
Image | Enable the "image" option in the toolbar. It allows you to insert images in the editor. | Checkbox |
Video | Enable the "video" option in the toolbar. It allows you to embed videos in the editor. | Checkbox |
Toolbar Emoji | If checked, the emoji will be added to the toolbar. | Checkbox |
Inline Emoji | If checked, the emoji will be inserted in the editor after the ":" mark. Type ":" then emoji name. Note: some diacritics that use the ":" key may not work. | Checkbox |
Max Image Width | Limit the height of inserted images in the editor. | number (optional) |
Max Image Height | Limit the height of inserted images in the editor. | number (optional) |
Image Upload Method | Select the method for inserting images. We provide to upload from local storage or URL. | Dropdown |
Upload to Service | When you are uploading from local storage, firstly, need to upload the image on external cloud storage. Select the cloud storage for image uploading. If the service is not selected, images will be inserted in "base64" format.
For using another upload service please check setup instructions for Wasabi and AWS. | Dropdown |
Image Max Size (KB) | Image size limit in KB. You can notify the user about image limits exceeding, by using the event "the image is too large". | number |
AWS Folder Structure | Structure to be used for uploaded files into AWS. If "folder_name/uuid_filename" is chosen, provide the 'AWS Folder Name' value below. If in this case the 'AWS Folder Name' is not indicated, the folder name 'unknown' will be used. | Dropdown |
AWS Folder Name | The name to be used for the user folder on the S3 bucket. It is used only if the 'AWS Folder Structure' property is set to 'folder name/uuid filename'. | text (optional) |
AWS Prefix | Enables prefix to filename. | Checkbox |
AWS Filename Prefix | Add a prefix. For prefixes do not use any special characters like: ! $ # @ etc β¦ | text (optional) |
Mentions | Select an app type (data) for mentions. | App Type (optional) |
Mentions Captions | Select a caption that will be used for mentions. | text fields of Mentions (optional) |
Mentions List | Use this field when mentioning the source from the bubble database type is "Object". | list of Mentions (optional) |
Mentions List (text) | Use this field when mentioning the source type is "text". | list of Mentions (optional) |
Mentions List Scrollbar | Enables the scroll bar for the mentions list. | Checkbox |
Mention's Redirect | Provide URL redirect when mention is clicked. URL is concatenated with the mention "id". | text (optional) |
Hashtags | Select an app type (data) for hashtags. | App Type (optional) |
Hashtags Captions | Select a caption that will be used for hashtags. | text fields of Hashtags (optional) |
Hashtags List | Use this field when the hashtags source from bubble database type is "Object". | list of Hashtags (optional) |
Hashtags List (text) | Use this field when the hashtags source type is "text". | list of Hashtags (optional) |
Add β{β as trigger for dropdown | Add β{β as a trigger for a dropdown, filled "Hashtags" fields required. | Checkbox |
Auto Detect URLs | Enables auto-detection URLs when the text is inserted. | yes/no |
Banned Words, Links | Words and links that you may want to ban. | text (optional) |
Stop Typing Delay | This indicates after how long, in seconds, is considered to stop typing. Accepts values from 0 to 10. You can detect when the user stopped to write, by using the event "Stop Typing". | number |
HTML with | This dropdown changes the content of the 'HTML style/nested lists' state. The 'HTML style/nested lists' state will be returned with styles or nested lists. | Dropdown |
Element Actions
Enable User Input - This action is used to disable the Read Only mode.
Disable User Input - This action is used to enable the Read Only mode.
Blur - This action is used to remove focus from the editor.
Set Text/HTML - This action is used to replace the editor content.
Fields:
Title | Description | Type |
Text/HTML | New content, if left blank will reset the RTE. | text (optional) |
Update Content - This action is used to update the editor's content.
Fields:
Title | Description | Type |
Text | Content to add, if blank it will not change anything. | text |
Index | The index represents where we will insert new content. | number |
Delete | Represent how much text we want to delete after the given index. | number |
Delete Text - This action is used to delete a part of the content from the editor.
Fields:
Title | Description | Type |
Index | Index for deleting the section. | number |
Length | Length for deleting section. | number |
Reset - This action is used to delete all editor content.
Focus - This action is used to focus the editor.
Element Events
Title | Description |
Selection Changed | Triggers when the user changes the selection. |
Text Changed | Triggers when the user changes editor content. |
Typing | Triggers when someone typing in the RTE. |
Stop Typing | Triggers when someone stops typing in the RTE. |
Limit Reached | Triggers when the characters limit is reached. |
Blurred | Triggers when editor blurred. |
Mention Clicked | Triggers when a mention is clicked. |
Hashtag Clicked | Triggers when a hashtag is clicked. |
Focused | Triggers when editor Focused. |
The image is too large | Triggers when the image is too large. |
AWS Image Uploaded | Triggers when Image Uploaded. |
Element States
Title | Description | Type |
RTE Enabled | Publish editor read-only state. | yes/no |
Last Selection | Publish the user's last selection. | text |
Text | All the content of RTE. | text |
Content Length | Returns the RTE content length. | number |
HTML | Return the whole editor HTML. | text |
User Typing | Return user typing state. | yes/no |
Last Clicked Mention ID | Returns last clicked mention id. | text |
Last Clicked Hashtag ID | Returns last clicked hashtag id. | text |
Used Mentions IDs | Returns all used mentions IDs. | list of texts |
Used Hashtags IDs | Returns all used hashtag IDs. | list of texts |
Banned Words | Banned words and links. | list of texts |
Cursor index | Returns the position of the cursor. | number |
Font RTE | Returns the used font. | text |
URL AWS Image | Returns the URL of the uploaded image on AWS. | text |
HTML style/nested lists | Return the whole editor HTML with style or nested lists. | text |
ZQ Lite RTE
This element is a simple tooltip-based theme.
Preview
Element Fields
Title | Description | Type |
Placeholder | Editor placeholder. | text (optional) |
Initial Content | The initial content of the editor. | text (optional) |
Max Characters Allowed | Maximum characters are allowed in the editor. | number |
Read Only Mode | This option enables "read-only" mode. In this mode, you can't edit the editor. | Checkbox |
Plain Text Mode | This option enables "plain text" mode. In this mode, all content in the editor will be reset to the default font and default font size. | Checkbox |
Background Color | Allows to change the background color for the toolbar. | Color |
Icons Color | Allows to change the icons' color in the toolbar. | Color |
Hover Icons Color | Allows to change the icons' color in the toolbar on hover. | Color |
Bold | Enable the "bold" feature in the toolbar. It allows you to make bold text. | Checkbox |
Italic | Enable the "italic" feature in the toolbar. It allows you to make italic text. | Checkbox |
Strike | Enable the "strike" feature in the toolbar. It allows you to make strikethrough text. | Checkbox |
Underline | Enable the "underline" feature in the toolbar. It allows you to make underlined text. | Checkbox |
Blockquote | Enable the "blockquote" feature in the toolbar. It allows you to add blockquotes in the editor. | Checkbox |
Code Block | Enable the "code block" feature in the toolbar. It allows you to add code blocks in the editor. | Checkbox |
Header | Enable the "header" dropdown in the toolbar. It allows you to add headers in the editor. | Checkbox |
Font Size | Enable the "font-size" dropdown in the toolbar. It allows you to change the text size in the editor. | Checkbox |
Default Font Size | Select the default font size for the editor. | Dropdown |
Weight | Enable the "weight" dropdown for text in the toolbar. It allows to change the text weight in the editor. | Checkbox |
Lists | Enable the "list" feature in the toolbar. It allows you to create ordered and bullet lists in the editor. | Checkbox |
Script Text | Enable the "script text" feature in the toolbar. It allows you to create subscript and superscript text in the editor. | Checkbox |
Text Direction | Enable the "text direction" feature in the toolbar. It allows you to change the text direction in the editor, rtl, or ltr. | Checkbox |
Indentation | Enable the "indentation" feature in the toolbar. It allows to change the text indentation level in the editor. | Checkbox |
Text Color and Background Color | Enable the "color" feature in the toolbar. It allows you to change the text color and the background color in the editor. | Checkbox |
Custom Colors | The comma-separated list of HEX colors. This list will replace the default colors in the toolbar. | text (optional) |
Alignment | Enable the "alignment" feature in the toolbar. It allows you to change the text alignment in the editor. | Checkbox |
Font | Enable the "font" dropdown for text in the toolbar. It allows you to change the text font in the editor. | Checkbox |
Default Font | Select the default font for the editor. | Dropdown |
Default Font Color | The default font color of the editor. | Color |
Custom Fonts Link | The external link for your custom font styles. | text (optional) |
Custom Fonts | The comma-separated list of custom fonts mentioned in the "Custom Fonts Link" field. This list will be appended to the start of the default list of fonts in the toolbar. | text (optional) |
Line Height | Enable the "line-height" dropdown for text in the toolbar. It allows you to change the text line height in the editor. | Checkbox |
Reset Formatting | Enable the "reset" option in the toolbar. It allows you to reset all formatting. | Checkbox |
Link | Enable the "link" option in the toolbar. It allows you to attach links to the text in the editor. | Checkbox |
Image | Enable the "image" option in the toolbar. It allows you to insert images in the editor. | Checkbox |
Video | Enable the "video" option in the toolbar. It allows you to embed videos in the editor. | Checkbox |
Toolbar Emoji | If checked, the emoji will be added to the toolbar. | Checkbox |
Inline Emoji | If checked, the emoji will be inserted in the editor after the ":" mark. Type ":" then emoji name. Note: some diacritics that use the ":" key may not work. | Checkbox |
Max Image Width | Limit the height of inserted images in the editor. | number (optional) |
Max Image Height | Limit the height of inserted images in the editor. | number (optional) |
Image Upload Method | Select the method for inserting images. We provide to upload from local storage or URL. | Dropdown |
Upload to Service | When you are uploading from local storage, firstly, need to upload the image on external cloud storage. Select the cloud storage for image uploading. If the service is not selected, images will be inserted in "base64" format.
For using another upload service please check setup instructions for Wasabi and AWS. | Dropdown |
Image Max Size (KB) | Image size limit in KB. You can notify the user about image limits exceeding, by using the event "the image is too large". | number |
AWS Folder Structure | Structure to be used for uploaded files into AWS. If "folder_name/uuid_filename" is chosen, provide the 'AWS Folder Name' value below. If in this case the 'AWS Folder Name' is not indicated, the folder name 'unknown' will be used. | Dropdown |
AWS Folder Name | The name to be used for the user folder on the S3 bucket. Is used only if the 'AWS Folder Structure' property is set to 'folder name/uuid filename'. | text (optional) |
AWS Prefix | Enables prefix to filename. | Checkbox |
AWS Filename Prefix | Add a prefix. For prefixes do not use any special characters like: ! $ # @ etc β¦ | text (optional) |
Mentions | Select an app type (data) for mentions. | App Type (optional) |
Mentions Captions | Select a caption that will be used for mentions. | text fields of Mentions (optional) |
Mentions List | Use this field when mentioning the source from the bubble database type is "Object". | list of Mentions (optional) |
Mentions List (text) | Use this field when mentioning the source type is "text". | list of Mentions (optional) |
Mentions List Scrollbar | Enables the scroll bar for the mentions list. | Checkbox |
Mention's Redirect | Provide URL redirect when mention is clicked. URL is concatenated with the mention "id". | text (optional) |
Hashtags | Select an app type (data) for hashtags. | App Type (optional) |
Hashtags Captions | Select a caption that will be used for hashtags. | text fields of Hashtags (optional) |
Hashtags List | Use this field when hashtags source from the bubble database type is "Object". | list of Hashtags (optional) |
Hashtags List (text) | Use this field when the hashtags source type is "text". | list of Hashtags (optional) |
Add β{β as trigger for dropdown | Add β{β as a trigger for a dropdown, filled "Hashtags" fields required. | Checkbox |
Auto Detect URLs | Enables auto-detection URLs when the text is inserted. | yes/no |
Banned Words, Links | Words and links that you may want to ban. | text (optional) |
Stop Typing Delay | This indicates after how long, in seconds, is considered to stop typing. Accepts values from 0 to 10. You can detect when the user stopped to write, by using the event "Stop Typing". | number |
HTML with | This dropdown changes the content of the 'HTML style/nested lists' state. The 'HTML style/nested lists' state will be returned with styles or nested lists. | Dropdown |
Element Actions
Enable User Input - This action is used to disable the Read Only mode.
Disable User Input - This action is used to enable the Read Only mode.
Blur - This action is used to remove focus from the editor.
Set Text/HTML - This action is used to replace the editor content.
Fields:
Title | Description | Type |
Text/HTML | New content, if left blank will reset the RTE. | text (optional) |
Update Content - This action is used to update the editor's content.
Fields:
Title | Description | Type |
Text | Content to add, if blank it will not change anything. | text |
Index | The index represents where we will insert new content. | number |
Delete | Represent how much text we want to delete after the given index. | number |
Delete Text - This action is used to delete a part of the content from the editor.
Fields:
Title | Description | Type |
Index | Index for deleting the section. | number |
Length | Length for deleting section. | number |
Reset - This action is used to delete all editor content.
Focus - This action is used to focus the editor.
Element Events
Title | Description |
Selection Changed | Triggers when the user changes the selection. |
Text Changed | Triggers when the user changes editor content. |
Typing | Triggers when someone typing in the RTE. |
Stop Typing | Triggers when someone stops typing in the RTE. |
Limit Reached | Triggers when the characters limit is reached. |
Focused | Triggers when editor Focused. |
Blurred | Triggers when editor blurred. |
Mention Clicked | Triggers when a mention is clicked. |
Hashtag Clicked | Triggers when a hashtag is clicked. |
AWS Image Uploaded | Triggers when Image Uploaded |
Element States
Title | Description | Type |
RTE Enabled | Publish editor read-only state. | yes/no |
Last Selection | Publish the user's last selection. | text |
Text | All the content of RTE. | text |
Content Length | Returns the RTE content length. | number |
HTML | Return the whole editor HTML. | text |
User Typing | Return user typing state. | yes/no |
Last Clicked Mention ID | Returns last clicked mention id. | text |
Last Clicked Hashtag ID | Returns last clicked hashtag id. | text |
Used Mentions IDs | Returns all used mentions IDs. | list of texts |
Used Hashtags IDs | Returns all used hashtag IDs. | list of texts |
Banned Words | Banned words and links. | list of texts |
Cursor index | Returns the position of the cursor. | number |
URL AWS Image | Returns the URL of the uploaded image on AWS. | text |
HTML style/nested lists | Return the whole editor HTML with style or nested lists. | text |
AWS Configuration
- Create AWS account
You can create the AWS account for free, just by visiting the following link: https://aws.amazon.com/console/
β
Please note that the AWS Free Tier has limitations like the number of free GET/POST requests per 12 months:
https://aws.amazon.com/s3/pricing/
https://aws.amazon.com/free/?nc1=h_ls&all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc
- Create your first S3 bucket
- In the AWS services search bar at the top, type "S3" and click on "S3" in the dropdown to navigate to the S3 Dashboard or open this link.
- Choose toΒ Create bucket. TheΒ Create bucket page opens:
The bucket name must be created with the next conditions:
- The name should be between 3 and 63 characters long.
- Consist only of lowercase letters, numbers, dots (.), and hyphens (-). For best compatibility, we recommend that you avoid using dots (.) in bucket names, except for buckets that are used only for static website hosting.
- The name should begin and end with a letter or number.
After you create the bucket, you cannot change its name. For more information about naming buckets, seeΒ Bucket naming rules.
β
IMPORTANT! Avoid including sensitive information, such as account numbers, in the bucket name. The bucket name is visible in the URLs that point to the objects in the bucket.
- ForΒ Region, choose the AWS Region where you want the bucket to reside. To minimize latency and costs and address regulatory requirements, choose a Region close to you. Objects stored in a Region never leave that Region unless you explicitly transfer them to another Region.
- For a list of Amazon S3 AWS Regions, seeΒ AWS service endpointsΒ in theΒ Amazon Web Services General Reference.
- UnderΒ Object Ownership, to disable or enable ACLs and control ownership of objects uploaded in your bucket, choose one of the following settings:
ACLs disabled
- Bucket owner enforcedΒ β ACLs are disabled, and the bucket owner automatically owns and has full control over every object in the bucket. ACLs no longer affect access permissions to data in the S3 bucket. The bucket uses policies to define access control.
To require that all new buckets are created with ACLs disabled by using AWS Identity and Access Management (IAM) or AWS Organizations policies, seeΒ Disabling ACLs for all new buckets (bucket owner enforced).
ACLs enabled
- Bucket owner preferredΒ β The bucket owner owns and has full control over new objects that other accounts write to the bucket with theΒ
bucket-owner-full-control
Β canned ACL.
If you apply the bucket owner preferred setting, to require all Amazon S3 uploads to include theΒ
bucket-owner-full-control
Β canned ACL, you canΒ add a bucket policyΒ that allows only object uploads that use this ACL.- Object writerΒ β The AWS account that uploads an object owns the object, has full control over it, and can grant other users access to it through ACLs.
- UnderΒ Block Public Access settings for this bucket, choose the Block Public Access settings that you want to apply to the bucket. We recommend that you keep all settings enabled unless you know that you need to turn off one or more of them for your use case, such as to host a public website. The Block Public Access settings that you enable for the bucket are also enabled for all access points that you create on the bucket. For more information about blocking public access, seeΒ Blocking public access to your Amazon S3 storage.
- (Optional) UnderΒ Bucket Versioning, you can choose if you wish to keep variants of objects in your bucket. For more information about versioning, seeΒ Using Versioning in S3 buckets. To disable or enable versioning on your bucket, choose eitherΒ DisableΒ orΒ Enable.
- (Optional) UnderΒ Tags, you can choose to add tags to your bucket. Tags are key-value pairs used to categorize storage. To add a bucket tag, enter aΒ KeyΒ and optionally aΒ ValueΒ and chooseΒ Add Tag.
- UnderΒ Default encryption, chooseΒ Edit.
- To configure default encryption, underΒ the Encryption key type, choose one of the following
β οΈPlease see in our screenshot how we create our bucket
Get credentials
- Navigate to Your Account: At the top-right corner of the AWS Management Console, you'll see your account name or number. Click on it to open the dropdown menu.
- From the dropdown, select the "Security Credentials" option.
- Access Keys Section: Once on the Security Credentials page, expand the "Access keys (access key ID and secret access key)" section.
- Create New Access Key:
-If you already have existing access keys, you'll see them listed here.
-To create a new access key, click the "Create New Access Key" button.
β οΈ
Download Credentials: After creating a new access key, you'll have the option to download it as a
.csv
file. Save this file securely, as AWS will not show these credentials again for security reasons.- Open plugin settings in the Plugins tab from the Bubble.
- Fill in the following AWS fields.
- AWS Access Key - The access key from the downloaded file.
- AWS Secret Key - The secret key from the downloaded file.
- AWS Region - In AWS (Amazon Web Services), a "Region" is a specific geographical area where AWS has data centers.
- AWS Bucket Name - The name of the bucket in AWS.
Setting Cross-origin and Politics
CROSS Configuration is required for the case when your resources should not be accessed by external resources.
For example, if you set the domain "https://your-domain/" in the cross, this means that only apps with the domain "https://your-domain/" will be able to access AWS Bucket.
Add security to your AWS bucket by configuring policies on the 'Permissions' tab:
In the next steps, we'll show you how to set Access Control, Bucket Policy, and CORS policy to get started with basic security restrictions.
- In the 'Block public access' area unlock public access to all for the time being.
- In the 'Bucket Policy' area you can configure the rules for security and privacy via Bucket Policy. Take a look at the "Action", "Resource" and "Condition" fields where we grant access to reading the objects from our bucket.
In this case, we are granting read file access only to users from our application domain, so if a user gets an image URL and tries to open it in a new tab or a new window, the bucket policy will block this request because we stated in the privacy rules that the link can be opened only from our domain:
Here's a code example (JSON):
javascript{ "Version": "2012-10-17", "Statement": [ { "Sid": "AddPerm", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::YOUR-BUCKET-NAME/*", "Condition": { "StringLike": { "aws:Referer": "https://zeroqode-demo-02.bubbleapps.io/*" } } }, { "Sid": "AddPerm2", "Effect": "Allow", "Principal": "*", "Action": "*", "Resource": "arn:aws:s3:::YOUR-BUCKET-NAME/*" } ] }
YOUR-BUCKET-NAME - should be your S3 bucket name (ex: zeroqodedemo02).
You can find more Bucket Policy examples here. Feel free to try out other rules to improve your bucket security, since this documentation presents only our example of the settings.
- In the Access Control List (ACL) area make sure that all the options look like the image below to match our configuration:
- Use the 'Cross-origin resource sharing' area to configure the CORS policy for the S3 bucket.
To configure access from all domains, you can use the following JSON for the CORS policy:
javascript[ { "AllowedHeaders": [ "*" ], "AllowedMethods": [ "GET", "PUT", "DELETE", "POST" ], "AllowedOrigins": [ "*" ], "ExposeHeaders": [ "ETag" ], "MaxAgeSeconds": 30000 } ]
Setting the CORS policy like this will allow everyone to change anything in your bucket, but you can definitely go deeper and set it up more securely.
For example, you can use the following JSON for CORS policy to allow access from your domain only (change the allowed origin to the URL of your app starting with https://)
javascript[ { "AllowedHeaders": [ "*" ], "AllowedMethods": [ "GET", "PUT", "DELETE", "POST" ], "AllowedOrigins": [ "https://yourdomain.com", "https://yourdomain.bubbleapps.io" ], "ExposeHeaders": [ "ETag" ], "MaxAgeSeconds": 30000 } ]
β οΈ
Note: We use CORS Configuration and Bucket Policy for informative purposes only for the test case.
For Access Permissions (CORS, Bucket Policy, Access Control List, etc.) please follow Amazon AWS's Setup Documentation to better understand your personal requirements.
βhttps://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html
βhttps://docs.aws.amazon.com/AmazonS3/latest/user-guide/add-cors-configuration.html
βhttps://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html
Wasabi Configuration
- Create a Wasabi account at https://wasabi.com/. Visit wasabi.com to sign up for their service, you will get an email with link to your console. In your Wasabi console go to Billing->Payment settings then add your Payment method. While you do receive a month free trial to upload private files, a paid account is required to upload public files.
- Next, go to the Access Keys page & create a new access key.
- Open plugin settings in the Plugins tab from the Bubble.
- Fill the following Wasabi fields.
- Wasabi_region - The region of where this Bucket is stored. Enter one of the following: us-west-1, eu-central-1, us-east-1, us-east-2.
- Wasabi_bucket - The name of the Bucket you would like to upload to.
Changelogs
Update 30.05.18 - Version 1.0.0
- Initial Build.
Update 31.05.18 - Version 1.1.0
- Added state: "Browser storage is empty (yes/no)β.
Update 04.06.18 - Version 1.2.0
- Minor fixes.
Update 05.06.18 - Version 1.3.0
- Minor fixes.
Update 21.06.18 - Version 1.4.0
- Added new custom event "when output HTML is readyβ.
Update 08.08.18 - Version 1.5.0
- Minor fixes.
Update 09.08.18 - Version 1.6.0
- Minor fixes.
Update 10.08.18 - Version 1.7.0
- Added support for Google Fonts.
Update 10.08.18 - Version 1.8.0
- Minor fixes.
Update 12.09.18 - Version 1.9.0
- Minor improvements.
Update 13.09.18 - Version 1.10.0
- Minor improvements.
Update 22.11.18 - Version 1.11.0
- Minor improvements.
Update 26.11.18 - Version 1.12.0
- Added ability to filter results for mentions.
Update 29.11.18 - Version 1.13.0
- Minor improvements.
Update 21.12.18 - Version 1.14.0
- Minor improvements.
Update 15.01.19 - Version 1.15.0
- Mentions work perfectly
- Autoresize is working too (Don't forget to fill up "Maximum autoresize height" param if "Authoresize" checked )
- ZQ-RTE is filling all the bubble element now
- Instead of BB codes you can Use HTML equivalents for example <strong>something</strong>
- Cut off content - not implemented, and cannot be implemented (maybe for "Display only" mode)
- Caret position will be remembered by the editor now.
- Preselect Font Color
Update 30.01.19 - Version 1.16.0
- Character count fix.
Update 04.02.19 - Version 1.17.0
- Minor improvements.
Update 08.02.19 - Version 1.18.0
- Fixed stretch to fit content in repeating group.
Update 12.02.19 - Version 1.19.0
- Fixed updating the displayed content when the source is changed. Added workflow to set focus and show RTE for Lite Mode. ( Focus For Lite Mode )
Update 12.02.19 - Version 1.20.0
- Added paste image from clipboard.
Update 18.02.19 - Version 1.21.0
- Custom amount of seconds until event Content is Changed will trigger. By default is 1 second. Added this field at the bottom in plugin settings.
Update 19.02.19 - Version 1.22.0
- Minor fixes.
Update 20.02.19 - Version 1.23.0
- Mentions are now optional. Also fixed cursor position reset when Stretch to fit content is enabled.
Update 21.02.19 - Version 1.24.0
- Minor improvements.
Update 26.02.19 - Version 1.25.0
- Fixed:
- Inserting an image causes it to overlap other elements. Loading HTML initial content causes overlap.
- Added:
- Enable font sizes checkbox
- Enable fonts checkbox
- Images max width (by default is 500)
- Buttons hover color
- Border radius
- Tooltip Border radius.
Update 26.02.19 - Version 1.26.0
- Fixed cursor changing position when initial content is dynamically changed.
Update 28.02.19 - Version 1.27.0
- Fixed:
- Empty spaces between icons when some of them are removed
- Added:
- Resize image checkbox (Autoresize images with width bigger than 1920px )
- Custom width to resize ( default is 800px)
Update 28.02.19 - Version 1.28.0
- Minor improvements.
Update 01.03.19 - Version 1.29.0
- Updated docs and description.
Update 01.03.19 - Version 1.30.0
- Updated docs link.
Update 05.03.19 - Version 1.31.0
- Fixed:
- When the selection is at a lower part of the editor, the pop-up box disappears partially.
- Pasting things moves screen position up.
- Added:
- Added dynamic width for autoresize.
- Added video custom size settings.
Update 08.03.19 - Version 1.32.0
- FIXED Focus and scroll on page load.
Update 12.03.19 - Version 1.33.0
- Minor improvements.
Update 27.03.19 - Version 1.34.0
- Fixed scrolling problems when content changed.
Update 02.05.19 - Version 1.35.0
- Fixed height bug for Lite mode Fixed customize font & font size for display only mode (will get it from Default font & Default font size settings)
Update 27.05.19 - Version 1.36.0
- Minor fixes.
Update 28.05.19 - Version 1.37.0
- Minor improvements.
Update 29.05.19 - Version 1.38.0
- Minor improvements
Update 24.06.19 - Version 1.39.0
- Minor fixes.
Update 16.07.19 - Version 1.40.0
- Minor fixes.
Update 18.07.19 - Version 1.41.0
- Fixed overlay on elements on first load. Fixed buggy incorrect height recalc when content changed. Improved time for height recalc so now it do it faster without delay.
Update 05.08.19 - Version 1.42.0
- Removed shortcuts.
Update 12.08.19 - Version 1.43.0
- Added a feature that auto updates Initial Content if it was changed from DB.
Update 26.08.19 - Version 1.44.0
- Fixed stretch content for Lite Mode.
Update 28.08.19 - Version 1.45.0
- Fixed stretch to fit content for display only mode.
Update 03.09.19 - Version 1.46.0
- Added feature to open image in modal for Read Only mode.
Update 05.09.19 - Version 1.47.0
- Fixed autoscroll&bounce when content was changed from DataBase and Stretch content is off.
Update 11.09.19 - Version 1.48.0
- Fixed the issue with uploading images in lite version. Added new state, Uploaded Image.
Update 07.11.19 - Version 1.49.0
- Completely rewritten from ground up, the RTE plugin just got smarter with new version 2.0. Lighter and more efficient code made the plugin element simple to use and feature rich.
Update 14.11.19 - Version 1.50.0
- Minor fixes.
Update 19.11.19 - Version 1.51.0
- Updated functionalities compatibility from es6 to es5.
Update 20.11.19 - Version 1.52.0
- Update - Fully updated functionalities compatibility from es6 to es5.
Update 22.11.19 - Version 1.53.0
- Fix - es5 variables initialization fixed.
Update 23.11.19 - Version 1.54.0
- Fix - es6 loops fixed.
Update 30.01.20 - Version 1.55.0
- Fixes - the rte will not overlap with other groups, also fixed the issue with losing rte content.
Update 04.02.20 - Version 1.56.0
- Update - fixed responsive layout along with bubble updates.
Update 14.02.20 - Version 1.57.0
- Update: banned words and links feature.
Update 25.02.20 - Version 1.58.0
- Ignoring base64 code in textual context processing.
Update 03.04.20 - Version 1.59.0
- Update - Border color option for normal RTE. Autofocus and scroll fixed.
Update 08.04.20 - Version 1.60.0
- Fixed bug with ToolBar.
Update 17.05.20 - Version 1.61.0
- Fixed reset last selection state.
Update 28.05.20 - Version 1.62.0
- Fixed bugs with height and plugin's event trigger issue.
Update 04.06.20 - Version 1.63.0
- Fixed bugs with editor's Content.
Update 06.06.20 - Version 1.64.0
- Fixed bugs with element's HTML retrieval.
Update 11.06.20 - Version 1.65.0
- Fixed bugs with cursor skip on dynamic data.
Update 25.06.20 - Version 1.66.0
- Improvement action "set text" for setting content HTML.
Update 09.09.20 - Version 1.67.0
- Fixed Placeholder bug.
Update 08.12.20 - Version 1.68.0
- Fixed problem with null value and style.
Update 29.12.20 - Version 1.69.0
- Fixed problem with the cursor.
Update 20.01.21 - Version 1.70.0
- Fixed problem with focus and hashtag event and state.
Update 05.02.21 - Version 1.71.0
- Fixed minor bug.
Update 09.02.21 - Version 1.72.0
- Updated icon.
Update 26.02.21 - Version 1.73.0
- Fixed the problem with states Mention and Hashtag.
Update 26.02.21 - Version 1.74.0
- Minor fixes.
Update 03.03.21 - Version 1.75.0
- Updated description.
Update 13.03.21 - Version 1.76.0
- Updated plugin name.
Update 14.03.21 - Version 1.77.0
- Fixed problem with an empty value.
Update 29.03.21 - Version 1.78.0
- Fixed problem with the 's HTML state.
Update 31.03.21 - Version 1.79.0
- Fixed problem with the HTML's state.
Update 05.04.21 - Version 1.80.0
- Fixed problem with states.
Update 16.04.21 - Version 1.81.0
- Updated description.
Update 26.04.21 - Version 1.82.0
- Added Emoji and added an option for toggling individual items off.
Update 02.06.21 - Version 1.83.0
- Eliminated conflict between ZQ RTE and Bubbles RTE.
Update 10.06.21 - Version 1.84.0
- Eliminated emoji button from top-right ZQLiteRTE
Update 01.07.21 - Version 1.85.0
- Added feature 'RTE resizableβ.
Update 03.07.21 - Version 1.86.0
- Added feature 'RTE resizableβ.
Update 14.07.21 - Version 1.87.0
- Updated icon.
Update 28.07.21 - Version 1.88.0
- Updated description.
Update 04.08.21 - Version 1.89.0
- Fixed problem with resizable and dynamic content.
Update 26.08.21 - Version 1.90.0
- Fixed reset action, height counting in popup, max limit chars, and removed extra line break.
Update 15.09.21 - Version 1.91.0
- Removed extra linebreak.
Update 03.11.21 - Version 1.92.0
- Improved editor with emoji's short name.
Update 13.11.21 - Version 1.93.0
- Fixed the problem with update content.
Update 27.12.21 - Version 1.94.0
- Added auto binding.
Update 11.01.22 - Version 1.95.0
- A new option for image.
Update 07.02.22 - Version 1.96.0
- Fixed problem with pop-up height.
Update 25.02.22 - Version 1.97.0
- Added Fonts.
Update 01.03.22 - Version 1.98.0
- Added possibility to resize an image.
Update 28.03.22 - Version 1.99.0
- Added new state "Cursor index".
Update 19.04.22 - Version 1.100.0
- Improved with detector of hyperlink.
Update 09.05.22 - Version 1.101.0
- Added text in description.
Update 17.05.22 - Version 1.102.0
- Fixed problem with resize images.
Update 21.06.22 - Version 1.103.0
- Fixed the limit of the max number of characters.
Update 21.06.22 - Version 1.104.0
- Emoji display fix.
Update 22.06.22 - Version 1.105.0
- Fixed problem with bubble Rich text.
Update 22.06.22 - Version 1.106.0
- Updated description.
Update 05.07.22 - Version 1.107.0
- Small updates on documentation fields.
Update 05.07.22 - Version 1.108.0
- Fixed the max number of characters for the RTE Lite element.
Update 07.07.22 - Version 1.109.0
- Ability to turn off text area emoji icon.
Update 19.07.22 - Version 1.110.0
- Added option β{β as a trigger for a dropdown.
Update 08.08.22 - Version 1.111.0
- Fixed focus when creating a hashtag.
Update 09.08.22 - Version 1.112.0
- Fixed toolbar position - bottom.
Update 22.08.22 - Version 1.113.0
- Added default font option.
- Fixed selecting font on Lite RTE.
Update 25.08.22 - Version 1.114.0
- Fixed "focus" action in RTE Lite element.
Update 29.08.22 - Version 1.115.0
- Added possibility to choose hashtag type of text.
Update 29.08.22 - Version 1.116.0
- Updated common part.
Update 02.09.22 - Version 1.117.0
- Added the possibility to change data type - "text" for mentions and hashtags.
- Fixed font and added option to select default font.
- Removed "null" from the hashtag list.
Update 05.09.22 - Version 1.118.0
- Updated common part.
Update 08.09.22 - Version 1.119.0
- Fixed image pasting in RTE when "Upload to AWS" is enabled.
Update 19.09.22 - Version 1.120.0
- Adjusted common part.
Update 05.10.22 - Version 1.121.0
- Improved auto-detect of hyperlinks.
Update 10.10.22 - Version 1.122.0
- New doc link.
Update 12.10.22 - Version 1.123.0
- Updated name.
Update 13.10.22 - Version 1.124.0
- Updated description.
Update 27.10.22 - Version 1.125.0
- Added "Font RTE" state.
Update 02.01.23 - Version 1.126.0
- Minor fixes.
Update 20.01.23 - Version 1.127.0
- Updated description.
Update 20.01.23 - Version 1.128.0
- Updated description.
Update 31.01.23 - Version 1.129.0
- Added option "Upload to Private AWSβ.
Update 02.02.23 - Version 1.130.0
- Updated description.
Update 21.02.23 - Version 1.131.0
- Updated the description.
Update 23.03.23 - Version 1.132.0
- Added upload images to "Wasabi" option.
Update 12.04.23 - Version 1.133.0
- Added "Stop Typing delay" field.
Update 25.04.23 - Version 1.134.0
- Fixed image uploading feature.
Update 16.05.23 - Version 1.135.0
- Fixed content resizable after an image is uploaded & auto-binding.
Update 16.06.23 - Version 1.136.0
- Added default size field.
Update 16.06.23 - Version 1.137.0
- Updated the description.
Update 17.06.23 - Version 1.138.0
- Updated the description.
Update 22.06.23 - Version 1.139.0
- Updated the description.
Update 07.07.23 - Version 1.140.0
- Added "Mention's redirect" field for "ZQ RTE" & "ZQ Lite RTE" plugin elements.
Update 10.07.23 - Version 1.141.0
- Updated description.
Update 24.07.23 - Version 1.142.0
- Added "Mentions list scrollbar" field, and size and weight feature in editor. Fixed mentions list.
Update 01.08.23 - Version 1.143.0
- Fixed RTE Lite toolbar.
Update 14.08.23 - Version 1.144.0
- Removed "RTE Content Resizableβ.
Update 14.08.23 - Version 1.145.0
- Fixed height settings.
Update 17.08.23 - Version 1.146.0
- Minor fixes.
Update 23.08.23 - Version 1.147.0
- Fixed the bottom line and hidden the empty toolbar.
Update 06.09.23 - Version 1.148.0
- Obfuscation.
Update 13.09.23 - Version 1.149.0
- Minor updates.
Update 18.09.23 - Version 1.150.0
- Updated description.
Update 20.09.23 - Version 1.151.0
- Fixed formatting issue.
Update 19.10.23 - Version 1.152.0
- Updated description.
Update 25.10.23 - Version 1.153.0
- Fixed default font assignation & formatting in HTML state. Fixed "Set Text/HTML" action.
Update 26.10.23 - Version 1.154.0
- Fixed the opening links from the HTML state.
Update 21.11.23 - Version 1.155.0
- Fixed mentions list position on displaying.
- Fixed emoji toolbar position on displaying.
- Improved the link detection in editor.
- Inserted styles in the HTML state.
- Removed deprecated element.
Update 01.12.23 - Version 1.156.0
- Changed the AWS settings, added possibility to insert the images from URL, reordered fields.
Update 05.12.23 - Version 1.157.0
- Fixed dropdown opening when the toolbar is at the bottom.
Update 14.12.23 - Version 1.158.0
- Added "Plain Text Mode" & "Default Font Size" field for Lite.
Update 19.12.23 - Version 1.159.0
- Updated description.
Update 25.12.23 - Version 1.160.0
- Fixed problems with "Default font" and "Default font sizeβ.
Update 26.12.23 - Version 1.161.0
- Updated description.
Update 27.12.23 - Version 1.162.0
- Minor fixes.
Update 27.12.23 - Version 1.163.0
- Updated description.
Update 10.01.24 - Version 1.164.0
- Added "HTML with style" & "HTML with nested lists" fields.
Update 11.01.24 - Version 1.165.0
- Added "Custom Colors" field.
Update 23.01.24 - Version 1.167.0
- Fixed the problem with resize images.
Update 30.01.24 - Version 1.169.0
- Added toolbar customization & fixed issues on element resizing.
- Added new fields: "Background Color" "Icons Color", and "Hover Icons Colorβ.
- Fixed editor content reset on element resizing.
- Fixed toolbar and editor displaying on element resizing.
Update 05.02.24 - Version 1.170.0
- Fixed HTML state
Update 23.02.24 - Version 1.171.0
- Added possibility to import custom fonts.
- Added βCustom Fonts Linkβ field.
- Added βCustom Fontsβ field.
Update 15.03.24 - Version 1.172.0
- Fixed "Initial Content" insertion into editor.
Update 21.03.24 - Version 1.173.0
- Removed deprecated instructions.
Update 09.04.24 - Version 1.175.0
- Converted field "Emoji" into "Toolbar Emoji" and "Inline Emoji" fields.
Update 07.05.24 - Version 1.176.0
- Optimized Quill scripts to load exclusively on pages with a Rich Text Editor
Update 17.06.24 - Version 1.178.0
- Added more color customizations and fixed "scroll to top" effect.
- Added Background settings for elements.
- Added "Default Font Color" field.
- Enabled color formatting for list decorators.
- Fixed "scroll to top" effect on paste and formatting.
Update 03.07.24 - Version 1.180.0
- Fixed autobinding in RTE and RTE Lite elements and plugin header code
Update 30.08.24 - Version 1.184.0
- Fixed "read-mode" feature.
Update 03.10.24 - Version 1.185.0
- Re-created "Default Font Color" field with default value.