Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

TinyMce on Admin side

$
0
0

Hi!

We had custom attribute that allowed us to add description for our jobs. It looked following way:

private HtmlContainerControl CreateEditorInContainer(string txtId, string txtText)
		{
			var txtControl = new Editor
			{
				ID = txtId,
				Text = txtText,
				PropertySettings = GetPropertySettings() // there were tinymce properties
			};
			var txtContainer = new HtmlGenericControl("div");
			txtContainer.Controls.Add(txtControl);
			return txtContainer;
		}

where Editor was in EPiServer.Editor.TinyMCE assembly(and inherited System.Web.UI.Control).

After updating to cms 11 and installing TinyMce 2.8 it's unclear for me how to initialize new editor for case described above. 

Can anyone help me, please?


Viewing all articles
Browse latest Browse all 6894

Trending Articles