Re: Applying inline styles to a WebKit - Cocoa application.
Re: Applying inline styles to a WebKit - Cocoa application.
- Subject: Re: Applying inline styles to a WebKit - Cocoa application.
- From: Alastair Houghton <email@hidden>
- Date: Mon, 16 Nov 2009 14:09:04 +0000
On 16 Nov 2009, at 10:35, Gustavo Pizano wrote:
> Hello and sorry if this is not the list to ask this.
I think WebKit does have its own mailing lists, but I can't think why the Cocoa part of WebKit would be off topic here...
> I saw the method replaceSelectionWithMarkupString: , in the WebView class, but also I saw the methods for setting CSS properties. Which one should I use, what happens, and where will be stored the styles if I use the CSS properties methods from WebView?
However, while you might be lucky as lots of people follow cocoa-dev and may already know the answer, you don't say whether you've tried either of these approaches. I think your best bet for a fast answer is actually to write a short test program that does both of the above things and see what works.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden