You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can Craft CMS somehow support this? Ideally it would work thus:
Select the text that is to be marked as an abbreviation
A dialogue box opens, much like the one for a link - with a field showing the selected text and one showing the title attribute
The title attribute would be optional
Hitting 'Insert' provides the following HTML output: <abbr title="title attribute">text initially selected</abbr>
Note: I can currently add this manually using the 'View source' feature, but obviously this isn't practical for most users. To get this working I needed to add the following lines in my CKEditor config (I think so at least…):
htmlSupport:
allow:
-
attributes:
- title
name: abbr
In a simple vein, <dfn> would be nice too.
In the first case, to be used much like <abbr>, with a title element - but ideally support for more advanced situations where abbr and dfn are combined could be desirable.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The
<abbr>
tag is helpful in making content concise but approachable.Many responsible for CKEditor do not seem particularly convinced by its usefulness. I am determined to help you make Craft CMS a first-in-class editorial experience for technical and scientific publishing!
Can Craft CMS somehow support this? Ideally it would work thus:
<abbr title="title attribute">text initially selected</abbr>
Note: I can currently add this manually using the 'View source' feature, but obviously this isn't practical for most users. To get this working I needed to add the following lines in my CKEditor config (I think so at least…):
In a simple vein,
<dfn>
would be nice too.In the first case, to be used much like
<abbr
>, with a title element - but ideally support for more advanced situations whereabbr
anddfn
are combined could be desirable.Beta Was this translation helpful? Give feedback.
All reactions