Jump to Content
LocomotiveCMSGuidesDiscussionSupport us!v2
GuidesBlogDiscussions
GuidesDiscussionSupport us!v2Log InLocomotiveCMS
Discussions
Log In
All
Pages
Start typing to search…

Discussions

Ask a Question

Allow custom HTML attributes (data-...)

For our lazy loading script, it would be nice to allow any HTML attributes in the WISIWYG editor (the editor seems to cut any attributes that aren't whitelisted). For example, we'd like to be able to save an image tag like

wysiwygeditorenginehtml_attributes
Posted by Tobias Geisler about 5 years ago
  • Recent
  • Unanswered
301301_redirectactionsapiassetsback officebelongs_toblockscallapicanconical urlcartchildrenclonecoalconfigcontent_assetscontent_entrycontent_typecontent_type_templatecontent_typesdatedeletedeploydocumentationdownloaddropsecommerceeditable_elementeditorenginefile structurefolder structurefoldersga4gallerygemgoogle_analyticshandlehostinghtmlhtml_attributesidintegrationjsonlayoutslinklink_toliquidlistedmany_to_manymetafieldsnavnestingnilnilclassofflineopen graphorder_bypagepagespaginationpath_topdfpublic_submissionpublishreadmerubyschedulesectionsselectsite_metricssitemapsolidusspamsteamsynctext_formattingtheme_assetsto_symurlurl_redirectwagonwith_scopewysiwygyaml