Jump to content
spoetnik

Open link in a Modal

Recommended Posts

I am using Bootstrap3 for my one page template.

I would like to be able to open a link in a bootstrap modal. I can't find a CKeditor modal plugin or something. Tried using the 'ProcessWire Edit Link Process' module, and add target="_modal", so I could strreplace something, but this gets stripped by CKeditor.

Any suggestions how I could open a link, created in CKeditor, in a modal?

Share this post


Link to post
Share on other sites

You can try to disable ACF Filter and/or HTML Purifier in the Field settings of your Inputfield (CK Editor).

Share this post


Link to post
Share on other sites

you could use a class on the anchor, and then have your modal target that

Share this post


Link to post
Share on other sites

There is a setting in the Input Tab, named Extra Allowed Content, where you can define what shouldn't be stripped by CKEditor.

On the other hand, if it is your side and you are the maintainer, just swicth off the use of ACF ! :)

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...