k07n Posted July 10, 2013 Share Posted July 10, 2013 Nice image drag and drop feature! How can I make a thumbnail from image to use it with colorbox for example? Link to comment Share on other sites More sharing options...
Can Posted June 1, 2014 Share Posted June 1, 2014 like it! added $(function() { $( ".ace-editor-position-wrapper .ace_scroller" ).resizable({ alsoResize: ".ace-editor-design-wrapper", minWidth: 1145, maxWidth: 1145 }); }); at the very end of InputfieldAceEditor.js Is there a way adding buttons to the editor especially the pwimage button like in tinymce? I know, ace doesn´t handle inline images in editor but how about just inserting the html/mardown/textile for the selected image? cheers Can PS: it´s working in 2.4 as well 1 Link to comment Share on other sites More sharing options...
owzim Posted June 9, 2014 Share Posted June 9, 2014 Hi Adam, Thanks for the module. It's not working for me though, there is no highlighting for markdown =( Also no line numbers are showing, if this is intended, the gap should not be there then. It would also be great to have a little more customisability, like font, color, font size and so on. Or at lest have the option to have custom style sheet? 1 Link to comment Share on other sites More sharing options...
Adam Kiss Posted June 17, 2014 Author Share Posted June 17, 2014 Hey all, long time no hear! The Ace Editor it's kind of abandonware at the moment, since I've been working with different platforms lately (like mostly ruby and print , but I'm planning to look into the module, it's support of pw 2.4 etc, and I've got some more ideas. Will see. Thanks, Adam Link to comment Share on other sites More sharing options...
kongondo Posted June 17, 2014 Share Posted June 17, 2014 Hey, look what the cat's dragged in! Adam, nice to see you! Link to comment Share on other sites More sharing options...
Adam Kiss Posted June 17, 2014 Author Share Posted June 17, 2014 Link to comment Share on other sites More sharing options...
Skippy le Grand Gourou Posted August 9, 2014 Share Posted August 9, 2014 I like this module, but the tag auto-closing (or autocompletion, for search's sake) feature is driving me nuts. How can I disable it ? Thanks. Link to comment Share on other sites More sharing options...
Skippy le Grand Gourou Posted August 9, 2014 Share Posted August 9, 2014 I like this module, but the tag auto-closing (or autocompletion, for search's sake) feature is driving me nuts. How can I disable it ? Ok, apparently this is called auto-pairing, and I finally disabled it by adding "this.ace.setBehavioursEnabled(false);" in site/modules/adamkiss-InputfieldAceEditor-16d5afe/InputfieldAceEditor.js at line 57 (i.e. just before "this.ace.getSession().setUseWrapMode(true);", but I guess any line around is fine). 2 Link to comment Share on other sites More sharing options...
Macrura Posted February 20, 2015 Share Posted February 20, 2015 It would also be great to have a little more customisability, like font, color, font size and so on. Or at lest have the option to have custom style sheet? i was able to hack this module a bit to get the theme to change, but i had to copy the theme's css into the main css file; i agree that it would be cool to have an alternate version of ACE for PW that allowed one to choose the theme, like the hanna code module!! Would be willing to financially support any development of a code editor inputfield, with configurable settings.. Link to comment Share on other sites More sharing options...
LostKobrakai Posted February 20, 2015 Share Posted February 20, 2015 Would be willing to financially support any development of a code editor inputfield, with configurable settings.. Why not take the one hanna code uses. Shouldn't be to hard to adapt this to a standalone inputfield for textareas. Link to comment Share on other sites More sharing options...
Adam Kiss Posted February 22, 2015 Author Share Posted February 22, 2015 i was able to hack this module a bit to get the theme to change, but i had to copy the theme's css into the main css file; i agree that it would be cool to have an alternate version of ACE for PW that allowed one to choose the theme, like the hanna code module!! Would be willing to financially support any development of a code editor inputfield, with configurable settings.. If we compare it to editors, Ace Editor was never meant to be the Sublime Text of Inputfields, more like iA Writer/Byword of Inputfields. If I ever clean up the code (its current state is total mayhem, because I've been working on it a bit every two months… and everyone knows how well that usually turns out). Maybe, if I ever clean it up and prepare it for latest PW (although it sort of works), I could make it to the point where it accepts custom CSS or something, but it's not really on my radar. I'd much rather finish other dreamt-up things, like fullscreen, etc. Sorry. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now