Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[nebula-dev] New topic in forum Nebula, called [Richtext Editor] How to wait to load of browser, by Mickael ADAM

Title: Eclipse Community Forums
Subject: [Richtext Editor] How to wait to load of browser Author: Mickael ADAM Date: Tue, 20 September 2016 05:46
Hi,

I use the richtext editor in a view but, at the first opening I have:
!ENTRY org.eclipse.e4.ui.workbench 4 0 2016-09-20 11:36:58.467
!MESSAGE 
!STACK 0
org.eclipse.swt.SWTException: Impossible d'obtenir la propriété  « setReadOnly » d'une référence null ou non définie
	at org.eclipse.swt.browser.WebBrowser$EvaluateFunction.function(WebBrowser.java:192)
	at org.eclipse.swt.browser.WebSite.Invoke(WebSite.java:833)


Apparently the browser is not totally loaded and CKEditor function are not yet available.

Is there a way to wait or be sure that function are loaded before using them?

thanks a lot.

Mickaël
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]

Back to the top