Jump to content

RTE feature - Hyperlink "unlink"


Guest Logan

Recommended Posts

The ability to highlight a link/image and click the unlink button is needed. It saves time from having to delete text, then re-enter, and hyperlink it again. With an unlink button you could highlight it, "unlink" (removes hyperlink), then just re-hyperlink without removing the text. Same with an image, rather than deleting a hyperlinked image to remove a hyperlink, just "unlink" ;)

This is a default feature in most other rich text editors, should be standard in IPB's as well. Not to mention the subscript and superscript that is still missing :P

Link to comment
Share on other sites

The ability to highlight a link/image and click the unlink button is needed. It saves time from having to delete text, then re-enter, and hyperlink it again. With an unlink button you could highlight it, "unlink" (removes hyperlink), then just re-hyperlink without removing the text. Same with an image, rather than deleting a hyperlinked image to remove a hyperlink, just "unlink" ;)



This is a default feature in most other rich text editors, should be standard in IPB's as well. Not to mention the subscript and superscript that is still missing :P



I am reliably informed that the remove formatting button should remove hyperlinks too. I can also however see that this doesn't work, and has annoyed me on several occassions before ;)

Will mention this to Brandon tomorrow, and check if super/subscript is on the list :thumbsup:
Link to comment
Share on other sites

If this cant be done easily, I would settle for a feature that switches your editor preference using ajax (so you dont loose what you've already changed). That way if the RTE editor goofs on you, you can fix it yourself manually (and quickly). Although that might a little crazy, so how about this: A button on the RTE editor that opens the post (with changes) in a new window (small) with just a text box that contains the bbcode. When you hit submit it updates your RTE area (uses ajax). So the RTE editor stays where it's at, you're just able to make quick fixes by changing the bbcode.

Another thing that bothers me is when I paste something in using MS Word it uses word's formating... While that may be useful in some cases, in other cases it's anoying because I want to just use word as a spell check. A way to paste in text without formating would be useful. Maybe a Ctrl - Alt - V or Ctrl - Shift - V.

Link to comment
Share on other sites

If this cant be done easily, I would settle for a feature that switches your editor preference using ajax (so you dont loose what you've already changed). That way if the RTE editor goofs on you, you can fix it yourself manually (and quickly). Although that might a little crazy, [b]so how about this[/b]: A button on the RTE editor that opens the post (with changes) in a new window (small) with just a text box that contains the bbcode. When you hit submit it updates your RTE area (uses ajax). So the RTE editor stays where it's at, you're just able to make quick fixes by changing the bbcode.



Another thing that bothers me is when I paste something in using MS Word it uses word's formating... While that may be useful in some cases, in other cases it's anoying because I want to just use word as a spell check. A way to paste in text without formating would be useful. Maybe a Ctrl - Alt - V or Ctrl - Shift - V.



Copy it to notepad first, that always works.
Link to comment
Share on other sites

  • 2 weeks later...

I am reliably informed that the remove formatting button should remove hyperlinks too. I can also however see that this doesn't work, and has annoyed me on several occassions before ;)



Will mention this to Brandon tomorrow, and check if super/subscript is on the list :thumbsup:


Any luck?
Link to comment
Share on other sites

(Sub|Super)script buttons would be very useful. What would be even more useful is a symbol map that pops up, not sure how easy that would be to do though.

You mean an integrated character map? I agree, that would be nice. However, one possible problem might be that it would only work for IE users. I know with vB, they offer an extended color picker with their RTE, but it only works on IE because the extended colors are loaded from MS Paint or something. IPB would have to have a built-in character map in order for this to really work, I think.

I did sub and super as well, but they are added as custom bbcode in the ACP.

But, can they still be added to the RTE? Or will it require source file hacks to do this?
Link to comment
Share on other sites

Well it shouldn't be custom bbcode, since the images and what not are already there for super/subscript... and in the JS files and throughout the editor files a lot of the code is there just commented out. So support for super/subscript was started but then not completed for 2.1 it looks.

So it shouldn't really be custom bbcode?

Link to comment
Share on other sites

The sub/super works through custom bbcode.

The images, however, are actually in loaded through the RTE files. You can click on the icon to insert the bbcode.

I didn't see any reason to add it as a built in bbcode when there really isn't a need to do so. In fact, personally, for 3.0 (when we work on the bbcode manager a bit), I'd like to extract as many of the bbcodes as possible - almost all of them could work through custom bbcode (url, image, bold, underline, etc.).

Link to comment
Share on other sites

The sub/super works through custom bbcode.



The images, however, are actually in loaded through the RTE files. You can click on the icon to insert the bbcode.



I didn't see any reason to add it as a built in bbcode when there really isn't a need to do so. In fact, personally, for 3.0 (when we work on the bbcode manager a bit), I'd like to extract as many of the bbcodes as possible - almost all of them could work through custom bbcode (url, image, bold, underline, etc.).


Agreed!

BBCode should be a simple import/export system and we should be able to use PHP for the processing of our CustomBBCode too. For example, why can I not use string_highlight() to highlight PHP code in tutorials in my forum, or display medals using a medal tag.
Link to comment
Share on other sites

Cy posted an excellent suggestion in this forum for custom bbcode, which I have taken into serious consideration. I'd like to do something like that - but it will have to wait for 3.0 of course.

When/if we do that, we could probably extract *all* of the bbcode, including the complex ones like quote.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...