Closed GoogleCodeExporter closed 9 years ago
Hello. I have the same problem. I created a buttom to convert the h[1,2,3] tags
in p
tags writing this code in jquery.wysiwyg.js (line 242):
pmozilla : { visible : true && $.browser.mozilla, className : 'p' , command :
'heading', arguments : ['p'] , tags : ['p'] },
p : { visible : true && !( $.browser.mozilla ), className : 'p' , command :
'formatBlock', arguments : ['p'] , tags : ['p'] },
It is not the ideal solution but works.
(sorry for my english)
Original comment by oscarot...@gmail.com
on 30 Apr 2008 at 11:09
having trouble with this, too
Original comment by ftre...@gmail.com
on 31 Oct 2008 at 11:12
And me.
Jquery 1.2.5 (pack) Firefox 3.0.3 (not tried other browsers)
Original comment by sb%delta...@gtempaccount.com
on 5 Nov 2008 at 4:24
If you select some text, press [h1], [h2] or [h3], you cannot toggle it again by
pressing [h1], [h2] or [h3].
With [B] it is possible to toggle the text from bold to normal and vice versa.
Toggling text from header1 to normal should also be possible (logically)...
Original comment by marc.f...@gmail.com
on 28 Jan 2009 at 4:37
Depends on browser... Must be investigated...
Original comment by akzhan.a...@gmail.com
on 8 Dec 2009 at 5:58
[deleted comment]
I made a workaround for this issue. Just added a new button that will convert h
(1,2,3) to <P> tag. This way the text in it is returned to a normal state. It
works
for me.
Add the following lines into jquery.wysiwyg.js:
Line 297:
pmozilla : { visible : true && $.browser.mozilla, className : 'p', command :
'heading', arguments : ['p'], tags : ['p'], tooltip : "Paragraph" },
Line 302 (after adding Line at 297, otherwise it's line 301):
p : { visible : true && !( $.browser.mozilla ), className : 'p', command :
'formatBlock', arguments : ['<P>'], tags : ['p'], tooltip : "Paragraph" },
This will add a new button to your toolbar right before h(1,2,3) ones. The only
thing you have to do know is to add an icon to it and you're done. Is we can
see
Jwysiwyg uses Slik icon set (can be found here
http://www.famfamfam.com/lab/icons/
silk/) so I found a nice little paragraph icon for this new button.
Hope this helps.
Original comment by aiveldes...@gmail.com
on 19 Jan 2010 at 12:01
Attachments:
Thanks so much helped me alot, however the lines i had to change were 267 and
then
270, not sure if mine was the standart js fiel though,
Original comment by stiofans...@googlemail.com
on 31 Mar 2010 at 1:35
Fixed and landed to master.
http://github.com/akzhan/jwysiwyg
Original comment by akzhan.a...@gmail.com
on 27 Jun 2010 at 10:25
Hmm, I'm getting this issue in Chrome, build 0.99dev (Release: 2014-10-24).
I've set rmUnusedControls = true and have organized only those controls I need
(grouped into 11 groupIndex bundles).
Any help?
Original comment by noisyblo...@gmail.com
on 3 May 2015 at 8:58
Original issue reported on code.google.com by
nikolay....@gmail.com
on 29 Apr 2008 at 6:10Attachments: