Advanced HTML Editor 3 Support Product Page
This topic was archived by Teodor Kuduschiev on 7/1/2016 10:15:39 AM
reason: old topics
reason: old topics
HTML Editor Changes Code After Saving
Asked 15 Jan 2014 14:13:05
2
have this question
15 Jan 2014 14:13:05 Terrel Pochert posted:
I'm stumped again. It's tough being a novice.All the "#" are replaced by the URL of the page I installed the HTML editor in. Why is this code changing. I simply want to use the code to display the player. I have another field to install the "head" scripts which works just fine, but why does the code change. If I paste the code directly into the MySQL database field, it works great, but when using the HTML editor the "#" problem appears. Page reference: connertmedia.com/doc-5978.html
I try pasting the following code into the HTML editor:
<div class="dmxHTML5MP3Player apple" id="mp3Player1"> <div class="dmxHTML5MP3PlayerDisplay"> <span class="dmxHTML5MP3PlayerInfo"><strong>##time##</strong> ##title##</span> </div> <div class="dmxHTML5MP3PlayerPositionSlider"> <div class="dmxHTML5MP3PlayerPositionBar"></div> <div class="dmxHTML5MP3PlayerPositionHandle"></div> </div> <div class="dmxHTML5MP3PlayerControlbar"> <a href="#" class="dmxHTML5MP3PlayerBtnPrev"></a> <a href="#" class="dmxHTML5MP3PlayerBtnPlay"></a> <a href="#" class="dmxHTML5MP3PlayerBtnPause"></a> <a href="#" class="dmxHTML5MP3PlayerBtnStop"></a> <a href="#" class="dmxHTML5MP3PlayerBtnNext"></a> <a href="#" class="dmxHTML5MP3PlayerBtnPlaylist"></a> <div class="dmxHTML5MP3PlayerVolumeSlider"> <div class="dmxHTML5MP3PlayerVolumeBar"></div> <div class="dmxHTML5MP3PlayerVolumeHandle"></div> </div> </div> <div class="dmxHTML5MP3PlayerPlaylist"> <ol>[*]<a href="http://connertmedia.net/media/2014/01/FarEnoughSouth.mp3">Far Enough South by Art Fettig</a>[/*] </ol> </div> </div> <script type="text/javascript"> // <![CDATA[ jQuery(document).ready( function() { jQuery("#mp3Player1").dmxHTML5MP3Player( {"autoNext": false, "loop": false, "playlist": "a[href$=\".mp3\"]"} ); } ); // ]]> </script>
But when I save it and reopen the editor, the code has changed into:
<div class="dmxHTML5MP3Player apple" id="mp3Player1"> <div class="dmxHTML5MP3PlayerDisplay"> <span class="dmxHTML5MP3PlayerInfo"><strong>##time##</strong> ##title##</span> </div> <div class="dmxHTML5MP3PlayerPositionSlider"> <div class="dmxHTML5MP3PlayerPositionBar"></div> <div class="dmxHTML5MP3PlayerPositionHandle"></div> </div> <div class="dmxHTML5MP3PlayerControlbar"> <a href="updateNugget.php?ID=5978#" class="dmxHTML5MP3PlayerBtnPrev"></a> <a href="updateNugget.php?ID=5978#" class="dmxHTML5MP3PlayerBtnPlay"></a> <a href="updateNugget.php?ID=5978#" class="dmxHTML5MP3PlayerBtnPause"></a> <a href="updateNugget.php?ID=5978#" class="dmxHTML5MP3PlayerBtnStop"></a> <a href="updateNugget.php?ID=5978#" class="dmxHTML5MP3PlayerBtnNext"></a> <a href="updateNugget.php?ID=5978#" class="dmxHTML5MP3PlayerBtnPlaylist"></a> <div class="dmxHTML5MP3PlayerVolumeSlider"> <div class="dmxHTML5MP3PlayerVolumeBar"></div> <div class="dmxHTML5MP3PlayerVolumeHandle"></div> </div> </div> <div class="dmxHTML5MP3PlayerPlaylist"> <ol>[*]<a href="http://connertmedia.net/media/2014/01/FarEnoughSouth.mp3">Far Enough South by Art Fettig</a> [/*] </ol> </div> </div><script type="text/javascript"> // <![CDATA[ jQuery(document).ready( function() { jQuery("#mp3Player1").dmxHTML5MP3Player( {"autoNext": false, "loop": false, "playlist": "a[href$=\".mp3\"]"} ); } ); // ]]></script>