Jump to content

How to choose between multiple blockquote css templates


Recommended Posts

hi,

maybe adding something like this in the custom json (if you're using blockquote2 and 3 as tags

{
  "extended_valid_elements": "blockquote2[id|class|style],blockquote3[id|class|style]"
}

even if seems honestly curious as blocquote class="xxx" sounds a little bit more html friendly 🙂

have a nice day

Link to comment
Share on other sites

  • 2 weeks later...

hi,

in this case you have many options...
- simply unable ACF and Html purifier, good practice if you rely on  the person whomanage the website (you? :)) more risky if you don't
- use the extra allowed content your field... field tab) with things like
blockquote2[[attributes]{styles}(classes)
blockquote3[[attributes]{styles}(classes)
- or even adding a ckeditor config.js file adding or overwriting native rules but honestly, more useful when using special plugins or if you neede to implement special dropdown menus
something i often did in ck editor area 🙂 but the previous solutions are a bit more simple

have a nice day

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...