File Editor
Directories:
.. (Back)
Elementor
Utils
Files:
admin.js
editor.js
elementor.js
global.js
helper.js
mailpoet.js
metabox.js
om-format.js
om-settings.js
trustpulse.js
wc-marketing.js
Create New File
Create
Edit File: om-format.js
/* ========================================================== * optinmonster-format.js * ========================================================== * Copyright 2021 Awesome Motive. * https://awesomemotive.com * ========================================================== */ 'use strict'; import MonsterLinkFormat from './Components/Formats/MonsterLink'; wp.richText.registerFormatType('optinmonster/om-format', { title: OMAPI.i18n.open_popup, tagName: 'a', className: 'om-format', attributes: { url: 'href', target: 'target', rel: 'rel', 'data-slug': 'data-slug', }, edit: MonsterLinkFormat, });
Save Changes
Rename File
Rename