🎨
FabricJS - Drawing Canvas
  • Introduction
    • 👋Welcome
    • Key Use Cases
    • Key Features
    • FAQs
  • Using the Plugin
    • Getting Started
    • Set up the Background
    • Set up Click Behavior
    • Saving the Canvas
    • Downloading the Canvas
  • Feature Reference
    • General Settings
    • Workflow Actions
    • Workflow Events
    • Exposed States
  • Use Cases
    • Templates
    • Canva/Visual Moodboard
    • PowerPoint & Slides
    • Image Editor
  • Useful tips
    • Custom Control Menu
    • Responsiveness
    • Element HTML id Attribute
Powered by GitBook
On this page
  1. Useful tips

Custom Control Menu

PreviousImage EditorNextResponsiveness

Last updated 3 years ago

You can add a custom control menu, which appears next to a Canvas element when it is selected. For instance, in the screenshot below, the red "X" appears beside any element when it is selected.

In order to set this up, follow the instructions below. Here is a link to a .

  1. Add the Canvas to your page

  2. Add a standard Bubble Group element to your page

  3. Add a to that group

  4. Enter that HTML id attribute in "Group HTML id" property on the Canvas element

  5. Adjust the X and Y offsets (optional)

  6. Within the the group, you can add workflow actions to elements. For instance, when a user clicks the "X", we've set it up so that it deletes the element from the Canvas

Bubble editor example
HTML id attribute