Hi
mediaworks,
1. Open project "Provider.sln"(\Providers\HtmlEditorProviders\CEHtmlEditorProvider\Provider.sln)
2. Find section below
- Protected Sub cntlCE_Load(ByVal sender As Object, ByVal e As EventArgs) Handles cntlCE.Load
- Try
- AddDNNLinks()
- Catch ex As Exception
- Throw New Exception("Check your provider configuration for errors!" & Environment.NewLine & ex.Message)
- End Try
- End Sub
3. Change to
- Protected Sub cntlCE_Load(ByVal sender As Object, ByVal e As EventArgs) Handles cntlCE.Load
- Try
- AddDNNLinks()
-
- If cntlCE.Text = "" Then
-
- cntlCE.Text = "<p>this is a test</p>"
- End If
- Catch ex As Exception
- Throw New Exception("Check your provider configuration for errors!" & Environment.NewLine & ex.Message)
- End Try
- End Sub
4. Bulid the project and use "DotNetNuke.CEHtmlEditorProvider.dll" to replace the old file in bin folder of your dnn site.
Note: CuteEditor does not support empty <p></p> target, so i use<p>this is a test</p> in the above code.
Note: project "Provider.sln" maybe needs some dll files. You can find them in bin foder of your dnn site.
Regards,
ken