Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: Erdal1 on September 28, 2015, 07:03:52 AM

Title: SMF Editor BBcode Does not work under Microsoft Edge
Post by: Erdal1 on September 28, 2015, 07:03:52 AM
SMF Editor BBcode Does not work under Windows 10   , Microsoft Edge...!! IE
Title: Re: SMF Editor BBcode Does not work under Microsoft Edge
Post by: Illori on September 28, 2015, 07:16:26 AM
it is a known issue the team is working on a solution.
Title: Re: SMF Editor BBcode Does not work under Microsoft Edge
Post by: Erdal1 on September 28, 2015, 07:18:04 AM
Thank you :)
Title: Re: SMF Editor BBcode Does not work under Microsoft Edge
Post by: Oldiesmann on September 28, 2015, 11:27:16 AM
Note that this should fix the main issue, but even with this fix the editor hasn't been fully tested in Edge so there might be other problems that we're not aware of at the moment...

Themes/default/scripts/editor.js

Find
oMyStyle.styleSheet.cssText = document.styleSheets['editor_ie_css'] ? document.styleSheets['editor_ie_css'].cssText : document.styleSheets['editor_css'].cssText;

Replace
if (oMyStyle.styleSheet)
oMyStyle.styleSheet.cssText = document.styleSheets['editor_ie_css'] ? document.styleSheets['editor_ie_css'].cssText : document.styleSheets['editor_css'].cssText;
else
oMyStyle.sheet.cssText = document.styleSheets['editor_ie_css'] ? document.styleSheets['editor_ie_css'].cssText : document.styleSheets['editor_css'].cssText;
Title: Re: SMF Editor BBcode Does not work under Microsoft Edge
Post by: IamTheBoy on October 02, 2015, 02:41:44 PM
Quote from: Oldiesmann on September 28, 2015, 11:27:16 AM
Themes/default/scripts/script.js
On my 2.0 forum, it was editor.js that needed the change above, not script.js :)

Thanks
Title: Re: SMF Editor BBcode Does not work under Microsoft Edge
Post by: Oldiesmann on October 04, 2015, 06:02:13 PM
Whoops. Not sure how I got that mixed up, but at least you were able to figure it out :)
Title: Re: SMF Editor BBcode Does not work under Microsoft Edge
Post by: BeatsMe on October 06, 2015, 06:49:18 AM
Made the change listed above.... but, the BBC buttons still didn't work my forum ???
Title: Re: SMF Editor BBcode Does not work under Microsoft Edge
Post by: vbgamer45 on October 06, 2015, 11:21:01 AM
You might have to clear your cache.
Title: Re: SMF Editor BBcode Does not work under Microsoft Edge
Post by: BeatsMe on October 07, 2015, 05:30:27 AM
Just added the script change to editor.js again, and then cleared the cache..... still not working for me ???

PS... I cleared the cache by going to "Forum Maintenance".... is that correct ??? or is there another way ???
Title: Re: SMF Editor BBcode Does not work under Microsoft Edge
Post by: Kindred on October 07, 2015, 06:14:57 AM
clear your local cache - in edge
Title: Re: SMF Editor BBcode Does not work under Microsoft Edge
Post by: BeatsMe on October 07, 2015, 06:27:24 AM
Thanks.... after posting here about clearing the cache, I realised that it might be Edge that needs to be cleared.... anyway, did that and yep it works now.