You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

  1. dee
  2. JCE Editor
  3. Saturday, 21 November 2020
Dear team, I can't find an option to choose "quote" ( html element <q> ) in the editor.
If it is not available, is it somehow possible to add a custom format element for this, and/or even create a custom icon?
It is an essential feature for one of our customers.
All best,
Konstantinos
Accepted Answer Pending Moderation
If it is not available, is it somehow possible to add a custom format element for this, and/or even create a custom icon?


You can create this using a Custom Style - https://www.joomlacontenteditor.net/support/tutorials/editor/creating-custom-styles

For example:

https://cdn.joomlacontenteditor.net/tmp/105940-quote-element-or-custom-format-element.jpg
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 1
Accepted Answer Pending Moderation
Thank you for the quick reply.
I tried this option and it works!
I created a tag "figcaption" and added as Selector "figure".
This way, in the editor I see the info "Write a caption...", where I can enter a caption - great so far!
But when I hide "Styles" in the editor profile, there is no way to edit the created custom style, even after re-enabling "Styles" - it is gone, I cant even delete it.
Is this a bug, or am I missing something?

A second question:
Can I create something a custom style (or similar), something like <figure><blockquote> (two elements combined I mean)?

All best,
KK
  1. more than a month ago
  2. JCE Editor
  3. # 2
Accepted Answer Pending Moderation
I created a tag "figcaption" and added as Selector "figure".
This way, in the editor I see the info "Write a caption...", where I can enter a caption - great so far!


This is not actually necessary, as selecting Figure from the Format list when you have an image selected will automatically create a <figcaption> tag inside the <figure> tag.

Can I create something a custom style (or similar), something like <figure><blockquote> (two elements combined I mean)?


Unfortunately not. Custom Styles are currently limited to applying a single tag to a selection.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 3
Accepted Answer Pending Moderation
I see, thank you for pointing out the figure/figcaption connection.

1. But how about the problem with creating a custom style, hiding "Styles" in the editor profile, and custom style is no more editable/deletable?

2. About the custom styles limited to a single tag: could the templated be a solution for creating a <figure><blockquote> combination?
  1. more than a month ago
  2. JCE Editor
  3. # 4
Accepted Answer Pending Moderation
1. But how about the problem with creating a custom style, hiding "Styles" in the editor profile, and custom style is no more editable/deletable?


The Styles list is required to apply a style, but depending on the the style properties, you may be able to remove it with the Remove Format button.

https://cdn.joomlacontenteditor.net/tmp/105940-quote-element-or-custom-format-element-2.jpg

2. About the custom styles limited to a single tag: could the templated be a solution for creating a <figure><blockquote> combination?


Yes, you can create any type of custom HTML to insert into the editor with the Template Manager, which can then be selected from the list on the Template Manager button in the editor toolbar.

https://cdn.joomlacontenteditor.net/tmp/105940-quote-element-or-custom-format-element-3.jpg
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 5
Accepted Answer Pending Moderation
great stuff! thanks
  1. more than a month ago
  2. JCE Editor
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!