Skip to content

Bubble plugin · Utilities

The Bubble Prevent text selection plugin in Next.js

Browser helpers.

Converts

By The deBub teamUpdated

On this page

01What it becomes

Browser helpers. The actions become helpers that disable or enable text selection for the page or for one element.

No extra npm package: the generated code uses React, Next.js and browser APIs only.

02What converts

  • Disable / enable text selection on the page
  • Disable / enable it for an element by id

03About this plugin

Prevent text selection.

Questions

Does the Prevent text selection plugin work outside Bubble?
Not as it is: Bubble plugins only run inside Bubble. In a Next.js app it is replaced by generated code — Browser helpers.
Will my Prevent text selection settings carry over?
Yes. deBub reads the plugin’s settings, conditions and workflows from your .bubble export and converts all of the plugin’s parts. Secret keys are the exception: you add them as environment variables.

The deBub team

We build the Bubble → Next.js compiler behind deBub. Spotted something out of date? Write to hello@debub.io.

All 45 plugins

Toolbox

Not Quite Unicorns

Components and browser helpers; your own JavaScript runs in the browser as before

Partly converts · 9 of 10 parts

CSS Tools

Zeroqode

A React component that ships with your app plus browser helpers

Partly converts · 8 of 11 parts

A React component that ships with your app that shows connection notices

Converts

Leave Bubble.
Keep building.

The scan is free and shows your exact price. No card needed until you choose to generate.

Start with a free scan