MARKETPLACE
PLUGINS
C - CODE EDITOR
C - Code Editor logo

C - Code Editor

Published April 2026
   •    Updated this week

Plugin details

C - Code Editor brings a full-featured, VS Code-powered code editor to any Bubble app — no iframes, no workarounds. Built on Monaco Editor (the engine behind VS Code), it delivers real syntax highlighting, IntelliSense autocomplete, code folding, and a minimap for 18+ programming languages. Drop the element on any page, bind the default code to your database, and read the live content back through exposed states — perfect for coding tools, low-code platforms, AI coding assistants, developer portals, online IDEs, and technical interview apps. KEY FEATURES • Monaco Editor engine — the same core as VS Code • 18+ languages: JavaScript, TypeScript, Python, HTML, CSS, JSON, SQL, Java, C#, C++, Go, Rust, PHP, Ruby, YAML, Markdown and more • 4 themes: VS Dark, VS Light, High Contrast Dark, High Contrast Light • Live states: current code, cursor line/column, total lines, is focused, is fullscreen • Events: code changed, focused, blurred, fullscreen opened/closed, language changed • Actions: Set Code, Set Language, Set Theme, Format Code, Insert Text at Cursor, Clear Code, Focus Editor, Toggle Fullscreen • Fully resizable — respects Bubble's responsive engine • Read-only mode via dynamic condition • Configurable font size, tab size, word wrap, minimap, line numbers, auto-indent, and border radius

Free

For everyone

stars   •   0 ratings
1 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Web

Contributor details

carlovsk logo
carlovsk
Joined 2023   •   4 Plugins
View contributor profile

Instructions

SETUP 1. Add the "Code Editor" element to your page and resize it to the desired dimensions. 2. In the element's property panel, set the Language and Theme to match your use case. 3. (Optional) Bind "Default Code" to a field in your database to pre-populate the editor on load. READING THE CODE - Use the element state "Current Code" wherever you need the user's code (e.g. save to DB, send to API). - "Current Code" updates live on every keystroke — no submit button required. ACTIONS (use inside Bubble Workflows) - Set Code → replaces the editor content programmatically (e.g. load from DB, AI response). - Set Language → switch syntax highlighting at runtime. - Set Theme → toggle between dark/light/high-contrast themes. - Format Code → runs the Monaco built-in formatter (works best with JS/TS/JSON). - Insert Text at Cursor → injects a snippet at the current cursor position. - Clear Code → empties the editor. - Toggle Fullscreen → expands the editor to a full-page overlay. Press ESC or the Close button to exit. - Focus Editor → programmatically focuses the editor (useful after page load or modal open). EVENTS - "Code Changed" fires on every keystroke. - "Editor Focused / Blurred" fires when the user clicks in or out. - "Fullscreen Opened / Closed" fires when toggling full-page mode. - "Language Changed" fires when Set Language action runs. TIPS - For a read-only code viewer, set "Read Only" to yes and disable the minimap for a cleaner look. - To auto-save, trigger a backend workflow on the "Code Changed" event with a debounce (e.g. use a 1-second custom state timer). - The editor loads Monaco from jsDelivr CDN on first use — ensure the page has internet access.

Types

This plugin can be found under the following types:
Background Services   •   Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:
Visual Elements   •   Technical   •   Data (things)   •   AI   •   Containers   •   Chat

Resources

Support contact
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble