<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Wysiwyg Editing Control for Dynamics NAV 2013 and 2015	</title>
	<atom:link href="https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/</link>
	<description>Do more with apps</description>
	<lastBuildDate>Mon, 02 Aug 2021 13:10:03 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.5</generator>
	<item>
		<title>
		By: ssondergaard		</title>
		<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-1170</link>

		<dc:creator><![CDATA[ssondergaard]]></dc:creator>
		<pubDate>Mon, 02 Aug 2021 13:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=97#comment-1170</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-124&quot;&gt;gb@evision.dk&lt;/a&gt;.

Hi.

I know that this is an old thread but I feel obligated to answer since I&#039;ve spent too many hours trying to figure out why enters didn&#039;t work in the RTC client.

First of all I haven&#039;t been using the WYSIWYG editor Hougaard posted - I&#039;ve been developing my own for a client. Therefore I can&#039;t share a complete solution but I hope to help other developers so that they can get it to work.

At first it seemed like magic - sometimes enters worked but most of the time it didn&#039;t. So I started to do some experimentation to figure out what was going on. Finally I dicovered that if I added an input element or a button to the HTML container and hid it immediately when the contentediable gained focus then enters started to work. I can&#039;t explain why since there is no documentation on thisbehaviour (that I could find) but it seems like the iframe view in the RTC client for some reason needs a button or input field that is added after the contenteditable element has been created/loaded. 

So using jQuery I do the following:

$(&quot;#editor&quot;).focus(function() {
  if ($(&quot;#rtc-fix-btn&quot;).length == 0) {
    var button = $(document.createElement(&quot;button&quot;));
    button.attr(&quot;id&quot;, &quot;rtc-fix-btn&quot;)
    button.css(&#039;position&#039;, &#039;absolute&#039;);
    button.css(&#039;display&#039;, &#039;block&#039;);
    button.css(&#039;left&#039;, &#039;0&#039;);
    button.css(&#039;top&#039;, &#039;0&#039;);
    button.css(&#039;width&#039;, &#039;10px&#039;);
    button.css(&#039;height&#039;, &#039;10px&#039;);
    button.css(&#039;padding&#039;, &#039;0&#039;);
    button.css(&#039;margin&#039;, &#039;0&#039;);
    button.css(&#039;border&#039;, &#039;none&#039;);
    button.css(&#039;background&#039;, &#039;none&#039;);
    container.append(button);

    button.hide();
  }
});

I believe something like that can be done in Hougaards editor as well.

Best regards
Sebastian]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-124">&#103;b&#64;e&#118;i&#x73;i&#x6f;n&#x2e;d&#x6b;</a>.</p>
<p>Hi.</p>
<p>I know that this is an old thread but I feel obligated to answer since I&#8217;ve spent too many hours trying to figure out why enters didn&#8217;t work in the RTC client.</p>
<p>First of all I haven&#8217;t been using the WYSIWYG editor Hougaard posted &#8211; I&#8217;ve been developing my own for a client. Therefore I can&#8217;t share a complete solution but I hope to help other developers so that they can get it to work.</p>
<p>At first it seemed like magic &#8211; sometimes enters worked but most of the time it didn&#8217;t. So I started to do some experimentation to figure out what was going on. Finally I dicovered that if I added an input element or a button to the HTML container and hid it immediately when the contentediable gained focus then enters started to work. I can&#8217;t explain why since there is no documentation on thisbehaviour (that I could find) but it seems like the iframe view in the RTC client for some reason needs a button or input field that is added after the contenteditable element has been created/loaded. </p>
<p>So using jQuery I do the following:</p>
<p>$(&#8220;#editor&#8221;).focus(function() {<br />
  if ($(&#8220;#rtc-fix-btn&#8221;).length == 0) {<br />
    var button = $(document.createElement(&#8220;button&#8221;));<br />
    button.attr(&#8220;id&#8221;, &#8220;rtc-fix-btn&#8221;)<br />
    button.css(&#8216;position&#8217;, &#8216;absolute&#8217;);<br />
    button.css(&#8216;display&#8217;, &#8216;block&#8217;);<br />
    button.css(&#8216;left&#8217;, &#8216;0&#8217;);<br />
    button.css(&#8216;top&#8217;, &#8216;0&#8217;);<br />
    button.css(&#8216;width&#8217;, &#8217;10px&#8217;);<br />
    button.css(&#8216;height&#8217;, &#8217;10px&#8217;);<br />
    button.css(&#8216;padding&#8217;, &#8216;0&#8217;);<br />
    button.css(&#8216;margin&#8217;, &#8216;0&#8217;);<br />
    button.css(&#8216;border&#8217;, &#8216;none&#8217;);<br />
    button.css(&#8216;background&#8217;, &#8216;none&#8217;);<br />
    container.append(button);</p>
<p>    button.hide();<br />
  }<br />
});</p>
<p>I believe something like that can be done in Hougaards editor as well.</p>
<p>Best regards<br />
Sebastian</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: julien		</title>
		<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-192</link>

		<dc:creator><![CDATA[julien]]></dc:creator>
		<pubDate>Wed, 12 Jul 2017 12:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=97#comment-192</guid>

					<description><![CDATA[HI,

First of all thank you for this tool.

I have installed this tool without any problem on a Nav 2017 CU 4 version, but the Hyperlink are not Clickable.
try to add a link to any text, and you will see that is not possible to click on it.
Somebody else get this behavior ?
thx]]></description>
			<content:encoded><![CDATA[<p>HI,</p>
<p>First of all thank you for this tool.</p>
<p>I have installed this tool without any problem on a Nav 2017 CU 4 version, but the Hyperlink are not Clickable.<br />
try to add a link to any text, and you will see that is not possible to click on it.<br />
Somebody else get this behavior ?<br />
thx</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: hougaard		</title>
		<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-191</link>

		<dc:creator><![CDATA[hougaard]]></dc:creator>
		<pubDate>Fri, 07 Jul 2017 17:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=97#comment-191</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-190&quot;&gt;titus133&lt;/a&gt;.

You&#039;re welcome to email me at Erik at hougaard.com :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-190">titus133</a>.</p>
<p>You&#8217;re welcome to email me at Erik at hougaard.com 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: titus133		</title>
		<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-190</link>

		<dc:creator><![CDATA[titus133]]></dc:creator>
		<pubDate>Fri, 07 Jul 2017 16:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=97#comment-190</guid>

					<description><![CDATA[Hello Hougaard, do you have an email as i can give you a feedback (case of use, bugs, evolutions in future ?) on the use of your addins. I have Things i have modified . I reduced the numbers of buttons. Is it possible to use an update of tinymce ? etc etc.. Lots of questions if you have an anwser. You are up to pay your as expert. 


I&#039;m using NAV 2017.]]></description>
			<content:encoded><![CDATA[<p>Hello Hougaard, do you have an email as i can give you a feedback (case of use, bugs, evolutions in future ?) on the use of your addins. I have Things i have modified . I reduced the numbers of buttons. Is it possible to use an update of tinymce ? etc etc.. Lots of questions if you have an anwser. You are up to pay your as expert. </p>
<p>I&#8217;m using NAV 2017.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: hougaard		</title>
		<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-173</link>

		<dc:creator><![CDATA[hougaard]]></dc:creator>
		<pubDate>Tue, 07 Feb 2017 21:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=97#comment-173</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-172&quot;&gt;archer&lt;/a&gt;.

Download link fixed, thanks :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-172">archer</a>.</p>
<p>Download link fixed, thanks 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: archer		</title>
		<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-172</link>

		<dc:creator><![CDATA[archer]]></dc:creator>
		<pubDate>Tue, 07 Feb 2017 20:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=97#comment-172</guid>

					<description><![CDATA[the download link above for htmledit does not work anymore. the correct link is &quot;https://www.hougaard.com/wp-content/uploads/2014/11/HTMLedit.zip&quot;.

addition to secure connection via https: that control does not work with https. you get then a &quot;mixed content&quot; warning in IE. in other browsers it is not shown at all. the reason is the link in file manifest.xml in archive EriksTinyEditorControl.zip. expand the xml file and edit it. then replace the unsecure scripturl link &quot;http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.9.1.min.js&quot; by &quot;https://code.jquery.com/jquery-1.9.1.min.js&quot;. saved the changed file, copy it back to the archive file EriksTinyEditorControl.zip. replace the content file in the control-addin record with the new version.]]></description>
			<content:encoded><![CDATA[<p>the download link above for htmledit does not work anymore. the correct link is &#8220;https://www.hougaard.com/wp-content/uploads/2014/11/HTMLedit.zip&#8221;.</p>
<p>addition to secure connection via https: that control does not work with https. you get then a &#8220;mixed content&#8221; warning in IE. in other browsers it is not shown at all. the reason is the link in file manifest.xml in archive EriksTinyEditorControl.zip. expand the xml file and edit it. then replace the unsecure scripturl link &#8220;http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.9.1.min.js&#8221; by &#8220;https://code.jquery.com/jquery-1.9.1.min.js&#8221;. saved the changed file, copy it back to the archive file EriksTinyEditorControl.zip. replace the content file in the control-addin record with the new version.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: GertK		</title>
		<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-164</link>

		<dc:creator><![CDATA[GertK]]></dc:creator>
		<pubDate>Wed, 04 Jan 2017 10:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=97#comment-164</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-105&quot;&gt;hougaard&lt;/a&gt;.

Dear Erik,

I&#039;ve changed the registry key to run Internet Explorer 11. Unfortunately still something goes wrong when you put the first word in the editor in Bold, Italic or Underlined and remove the editing afterwards. Sometimes it works. My idea is something is done with the first letter in the editor. 
It would be very nice if there would be a solution for this issue. 

Thank you very much for this nice piece of software.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-105">hougaard</a>.</p>
<p>Dear Erik,</p>
<p>I&#8217;ve changed the registry key to run Internet Explorer 11. Unfortunately still something goes wrong when you put the first word in the editor in Bold, Italic or Underlined and remove the editing afterwards. Sometimes it works. My idea is something is done with the first letter in the editor.<br />
It would be very nice if there would be a solution for this issue. </p>
<p>Thank you very much for this nice piece of software.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ea@balance.as		</title>
		<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-163</link>

		<dc:creator><![CDATA[ea@balance.as]]></dc:creator>
		<pubDate>Fri, 23 Dec 2016 07:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=97#comment-163</guid>

					<description><![CDATA[Dont know what happened, maybe a server restart or an update, but it Works now.
Maybe I should learn to be more patient :-)]]></description>
			<content:encoded><![CDATA[<p>Dont know what happened, maybe a server restart or an update, but it Works now.<br />
Maybe I should learn to be more patient 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: hougaard		</title>
		<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-162</link>

		<dc:creator><![CDATA[hougaard]]></dc:creator>
		<pubDate>Fri, 16 Dec 2016 15:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=97#comment-162</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-161&quot;&gt;ea@balance.as&lt;/a&gt;.

Not sure, have you tried to for the client on the server to be 32bit?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-161">&#101;&#x61;&#64;&#x62;a&#108;&#x61;&#110;&#x63;e&#46;&#x61;&#115;</a>.</p>
<p>Not sure, have you tried to for the client on the server to be 32bit?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ea@balance.as		</title>
		<link>https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-161</link>

		<dc:creator><![CDATA[ea@balance.as]]></dc:creator>
		<pubDate>Fri, 16 Dec 2016 11:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=97#comment-161</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-160&quot;&gt;hougaard&lt;/a&gt;.

Yes, pretty sure. 
I placed the AddIn on a client as well, it works perfect on that one, but not from running on the servers client.
Could it be a framework issue or?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.hougaard.com/wysiwyg-editing-control-for-dynamics-nav-2013-and-2015/#comment-160">hougaard</a>.</p>
<p>Yes, pretty sure.<br />
I placed the AddIn on a client as well, it works perfect on that one, but not from running on the servers client.<br />
Could it be a framework issue or?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
