Giter VIP home page Giter VIP logo

bb-code-settings's Introduction

A simple plugin that adds CSS and JS settings to rows, columns, and modules under the Advanced tab.

All CSS will be automatically scoped to the element you are working on. For example, the following CSS will only affect paragraph tags in a module you are editing...

p {
  color: red;
}

Behind the scenes, that rule will be rewritten to...

.fl-node-1d43q3gf56s p {
  color: red;
}

Other than that, this works similarly to the CSS and JS fields in the global and layout settings.

bb-code-settings's People

Contributors

fastlinemedia avatar pross avatar

Stargazers

Carson Hunter avatar  avatar Twanneman avatar feng avatar SocialSpark avatar JFOC avatar  avatar David Waumsley avatar  avatar  avatar  avatar  avatar James Burden avatar netzmaedchen avatar Gérard Godin avatar Bernhard avatar Gareth avatar Tuan Phan avatar

Watchers

Jason Tremblay avatar Phill Coxon avatar  avatar James Cloos avatar Danny avatar Brent Jett avatar Jamie avatar  avatar  avatar David Waumsley avatar netzmaedchen avatar Bernhard avatar  avatar  avatar

bb-code-settings's Issues

Critical error when in the page builder UI if using MooSend forms

Hello,
I can't find a way to use both bb code setting and MooSend. I get a critical error when entering the page builder. Below is the script they use. The same happens with their WP plugin although the issue is confined to the page their shortcode is on.

<script> //load TrackerJS !function(t,n,e,o,a){function d(t){var n=~~(Date.now()/3e5),o=document.createElement(e);o.async=!0,o.src=t+"?ts="+n;var a=document.getElementsByTagName(e)[0];a.parentNode.insertBefore(o,a)}t.MooTrackerObject=a,t[a]=t[a]||function(){return t[a].q?void t[a].q.push(arguments):void(t[a].q=[arguments])},window.attachEvent?window.attachEvent("onload",d.bind(this,o)):window.addEventListener("load",d.bind(this,o),!1)}(window,document,"script","//cdn.stat-track.com/statics/moosend-tracking.min.js","mootrack"); //tracker has to be initialized otherwise it will generate warnings and wont sendtracking events mootrack('init', '9d4e545091e34fcfaa2311610ad725f5'); </script>

This shows the form:

Thank you

Incompatibility with wp-scss plugin

Hi Justin,

  1. I recently activated this plugin on my own site and it broke my setup because I was already using the wp-scss plugin. Is there any way to make them work together?

  2. Would it possible to write SCSS in the bb code settings? I think it currently only supports regular css?

Kind regards, Twan

Background-image SVGs not working

UPDATE: Sorry, the information seems wrong below SVGs in the other BB areas only seem to work when in the editor view not when published.

You can use SVGs as a background-image URL in BB's Layout/Global CSS but it seems not to work in the BB code settings areas.

The bottom of his page shows an example:
https://designs.beaverjunction.com/fancy-headings/

This is the code use:
.test .fl-module-content {
background-color: #11aa44;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230099ff' fill-opacity='1' d='M0,32L48,53.3C96,75,192,117,288,165.3C384,213,480,267,576,272C672,277,768,235,864,192C960,149,1056,107,1152,90.7C1248,75,1344,85,1392,90.7L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}

Thank you :-)

CSS didn't work

Hi. I tried plugin with Text Editor Module.
I pasted some content from jeffsum.com, then insert a link.
Then use CSS
a {
color: green !important;
}
It works in Editing Mode, but not after saving (Done > Publish).
Here is screen recorder video: https://www.loom.com/share/c1bb278f95a749c1a88862c011fa5475

I also tried with strong tag, it also had problems like a tag
and finally, the plugin is great, it will help my current work.

Adding CSS styling to column is causing issues with the module

Using Beaver Builder, Beaver Theme and Beaver Themer and BB Code Settings plugin.

In the additional CSS field this plugin makes available, I added the following CSS line

h4 {
font-size: 24px;
}

After adding this, when I open Beaver Builder text module, it loads slow and also adds two additional text fields which I've never seen happening before. When I enter text in the first or third module, nothing happens or shows. When I enter text in the second field, it does show. But when I edit the module again, it disappears.

Video: https://www.facebook.com/100004513338419/videos/1707786772715084/

critical error when mistaken syntax in css

I was going along my merry old way adding some custom js and css to my bb with code settings and accudentally put a colon instead of a semi-colon somewhere and I got a critical error and can't get back into the editor to fix it! what do I do? Are you aware of this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.