New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to embed urls with a special class or a attribute? #15
Comments
Also, if user enables the option, the plugin doesn't need to check if a link is naked or not by https://github.com/NodeBB/nodebb-plugin-iframely/blob/master/library.js#L108-L110 |
Hi, I implemented this by myself and check that it's working well. |
Hey @qgp9 -- the problem with adding in the option to only allow embeds for links of a certain class, is that it doesn't have any functionality unless it is paired with another plugin... |
@julianlam Yes you are right, but in different of view, it means that iframely can cooperate with other plugin easily in this way :) . |
Hi @julianlam , do we still have a room to discuss or did you make any decision already? |
Hi @julianlam, I found and implemented a some hack way to control iframely with current iframely without modifications.
A Kind of Trick!! :) So now I close this issues. ( even though I wish to see that option yet :) ) Thanks! |
Hi,
I really love a iframely with nodeBB. I have to say "thank you" first.
But the only problem is that it embed every naked URLs and sometimes it's so messy.
Is it possible I can get a option to specify a class or attribute of link (
<a>
tag) to embed?I know in nodeBB, naked URLs doesn't have chance to have a special class or a attribute.
However plugins can do that and my nodebb-plugin-magicblock is one of it.
Actually I'm using my nodeBB with a bittly modified nodebb-plugin-iframely ( just 2 lines so not universal ) but I wish that offical plugin support this.
-QGP9
The text was updated successfully, but these errors were encountered: