CMS MADE SIMPLE FORGE

AceEditor

 

[#10078] AceEditor to edit pages

avatar
Created By: Michael (wlbr)
Date Submitted: 2014-06-28 17:13

Assigned To:
Resolution: Won't Fix
State: Open
Summary:
AceEditor to edit pages
Detailed Description:
Hi,

is it possible to add the feature to edit the CMS pages with the briliant
AceEditor?
I can use it in the FrontEnd and I use it to edit Templates and Stylesheets in
the Backend. It would be great if we could use it within the Backend instead of
MicroTiny or CodeMirror, especially as CodeMirror seems to be not working with
the recent releases of CMSMS.
I assume that there are only some special interfaces missing, that makes it
behave like a WYSIWYG editor to the system. Simply switching "IsWYSIWYG()" to
false is not sufficient.

Thanks in advance,
Michael

History

Comments
avatar
Date: 2014-07-10 11:10
Posted By: dave (enxdtw)

ditto, I want this feature as well!
      
avatar
Date: 2014-07-10 11:16
Posted By: Goran Ilic (uniqu3)

Currently there is no core function to allow switching between WYSIWYG Editor
and Syntax-highlighter while editing content pages, therefore sorry i am not
willing to force AceEditor module to behave as WYSIWYG module.
      
avatar
Date: 2014-07-10 12:11
Posted By: Michael (wlbr)

Hi, 

I guess there is a missunderstanding. I didn't mean a mode, where you can switch
from the WYSIWYG to Ace in page. For example by pressing on the Code button in
TinyMCE and Ace would show up. NO.

I really was asking for the possibility to use Ace INSTEAD of TinyMCE. So that
when I choose Ace inside the settings as the WYSIWYG editor, whenever I edit a
page it will be displayed in an Ace view.

Then I would choose Ace in the settings as both types of editors  - code and
WYSIWYG. I never use a real WYSIWYG editor, but would like to use Ace
everywhere. You can do this already with CodeMirror, the interfaces are
available. Ace would be much better.

Regards!
Michael
      
avatar
Date: 2014-07-10 12:20
Posted By: Goran Ilic (uniqu3)

I did understand what you are after, but I do not see it as WYSIWYG replacement
therefore I do not want Ace to be WYSIWYG replacement. Once Ace can be chosen as
WYSIWYG I bet there will be additional requests like ability to upload files,
link files, link between pages and and and. So sorry but Ace does what it was
intended to do and until it can not be switched between two editors I will not
implement it like requested.
      
avatar
Date: 2015-02-12 00:18
Posted By: Andrew Layton (alayton)

I still don't understand what the problem is. I and others (including my
coworkers) would like to use a code editor precisely because it is *not* a
WYSIWYG. As it is now, our choices are between the annoying WYSIWYG editor
(which frequently strips out parts of our code that it views as undesirable) and
nothing at all (which means lots of copying / pasting between CMSMS and a real
code editor). We can get around the WYSIWYG stripping out our code by using
global content blocks and disallowing WYSIWYGs on them, but then we're left with
the same problem: plain black text in a white box.

AceEditor can be used everywhere *except* for the areas that get edited most by
the admins, which is profoundly frustrating considering, as others mentioned,
that CodeMirror could be used anywhere. We used CodeMirror this way for years
until it stopped working with CMSMS. Not once did we ever think to request the
"ability to upload files," etc. We just wanted our code to be readable.
      
Updates

Updated: 2014-07-10 11:16
resolution_id: => 8