I don’t wish that my users can access the html source. It simplifies the bar and because the editor is very good it doesn’t there need to have access to the html source. I thus deactivated the button on the bar.
I think that it would be very interesting to have a button which allows to add a small html code in the editor (without passing by the source). I think html code like supplied by Youtube, Imageshack etc. …
What do you think about ?
I think that it would be very interesting to have a button which allows to add a small html code in the editor (without passing by the source). I think html code like supplied by Youtube, Imageshack etc. …
What do you think about ?
RE: A very very good suggestion !!! (I think
You can already do that
Just disable the source button and write a plugin for FCK that inserts the html snippet of your choice, it allows you to do just that.
RE: A very very good suggestion !!! (I think ;)
RE: A very very good suggestion !!! (I think
There is already a plugin available for this: https://sourceforge.net/tracker/index.p ... tid=737639 or if this doesn't exactly suit your needs try checking other plugins or extend the existing plugin.
(You can also add styles to the style list (fckstyles.xml) to be able to assign predefined styles to selected text.)
RE: A very very good suggestion !!! (I think ;)
It’s not exactly what i suggest because it’s for insert predefined HTML code ...
It’s good idea but i need a plugin which allows to insert a html code (not predefined)
( banner, google video, youtube etc ...).
I will do a plugin...
Re: A very very good suggestion !!! (I think ;)
After a good bit of mucking around looking for the exact same thing, I downloaded the snippets plug in mentioned here and just modified it to fit what it needed: insert arbitrary html without mucking around in view source.
This should be perfect for dropping youtube videos and whatnot into the FCKeditor.
It could probably use a bit of cleaning up; I just made a regular html button because I don't know how to add a blue one down at the bottom, but it seems to be working.
Oh, and I haven't tried, but I imagine something would break if you tried to use this and the original snippets plug in at the same time. I didn't rename anything.
grrrrr... the file upload won't work:
Re: A very very good suggestion !!! (I think ;)
A plugin to insert custom html already exists: https://sourceforge.net/tracker/index.p ... tid=737639 so it would be better to take a look at it and improve it instead of creating a new one.
As a user I hate when there are two elements that do almost the same but I have to test both to see which one is less buggy.
Re: A very very good suggestion !!! (I think ;)
I'm 99% sure that the one you linked to is better quality than mine, so yea, everybody use the good one, not mine.
Re: A very very good suggestion !!! (I think ;)
Re: A very very good suggestion !!! (I think ;)
sorry I came off rude, I was a bit frustrated..
The reason I said the other one was better is because I have never worked with the fckeditor api. All I did was hijack some existing code to do what I wanted.. but like I said, I verymuch doubt that my solution is comparable in quality to one that was built by people who know what they are doing.
I bookmarked the sf page, I'll take a look at it later. I'm going camping now