Issue #729Opened January 9, 2018by austinbiggs1 reactions

<body> shouldn't be badgeable / selectable

Question

I'm currently trying to remove the badgeable and selectable permissions from the <body> tag. I've tried setting the gjs-editable, gjs-badgeable, etc. permissions and nothing seems to the the trick. How would you suggest approaching this?

screen shot 2018-01-08 at 3 47 21 pm

Answers (3)

ryandebaJanuary 9, 20181 reactions

Hi @AustinTBiggs,

This works for me in the demo: editor.DomComponents.getWrapper().set({badgable: false, selectable: false})

You may also want to set hoverable to false if don't want the blue highlight to appear on hover.

austinbiggsJanuary 9, 20180 reactions

@ryandeba,

I'm sure you can imagine how silly I feel now. Grade A solution, thanks!

ryandebaJanuary 9, 20180 reactions

You're welcome! Glad I was able to help.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.