Skip to content

Instantly share code, notes, and snippets.

@stevewithington
Last active December 14, 2023 10:09
Show Gist options
  • Save stevewithington/5975131 to your computer and use it in GitHub Desktop.
Save stevewithington/5975131 to your computer and use it in GitHub Desktop.
Mura CMS : Allow end users to Quick Edit an extended attribute on the front end of the site by using $.renderEditableAttribute()
#$.renderEditableAttribute(
attribute='attributeName'
,type='text|HTMLEditor'
,required=true|false
,validation='blank or a JavaScript regex'
,message='Message to display if it does not pass validation'
,label='Form Field Label'
,value=$.content('attributeName')
,enableMuraTag=true|false
)#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment