Needs work
Project:
Wysiwyg
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2008 at 21:42 UTC
Updated:
21 Oct 2009 at 01:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
sunComment #2
zephyr325 commentedseconded!
Comment #3
sunProblem: Above link only points to a demo page in the meanwhile. To add support for this editor, we need a proper project homepage URL, download URL, and possibly also proper releases.
Comment #4
sunThe vi editor project is not listed on http://gpl.internetconnection.net/
Wysiwyg API can only support official editor libraries, which have their own issue trackers and (third party) project space.
Comment #5
acrollet commentedHi there,
I've decided to address the project space issue by forking vi.js and hosting it here:
http://github.com/acrollet/jsvi
Since the code is GPL, I believe I'm well within my rights doing so... This provides project space and an issue tracker. (not that I probably need to explain github to anyone here!)
patch for wysiwyg vi.js support attached - it's against 2.0 because the Debug module currently doesn't have any code, making it impossible to enable wysiwyg-3... I'll be happy to make any fixes needed to the patch, it's tested working on my end on the latest acquia drupal.
Comment #6
agentdcooper commentedi think this is a great project from what I could tell from playing around with jsvi @ http://gpl.internetconnection.net/vi/
so I tried this out myself on my drupal 6.14 site, with wysiwyg-6.x.2, as I love me some VI -- the patch worked great, the files got placed where they needed to be placed in the wyswyg module directories... I then downloaded vi.js and placed it in 2 locations = sites/all/libraries/ & sites/all/libraries/jsvi/ ... I was able to setup jsvi within drupal, from the wysiwyg admin profiles, and enabled it for multiple input formats. my trouble comes in when I goto create content, I get nothing ... no jsvi =(
am I doing something wrong? is there a file I am missing? or...? any help is much appreciated.
Comment #7
acrollet commented@agentdcooper - I'm sorry to hear that you're having trouble getting it to work. Can you get any other editors to work? (nicedit, tinymce, what have you) Have you tried clearing your cache? (both browser and drupal site)
Comment #8
agentdcooper commentedoh yes, I've got fckeditor working, and ckeditor up and running under wysiwyg module 6.x-2.x-dev ... I am gonna give this a shot again, this time removing the module and all settings, and starting from scratch with wysiwyg module 6.x-2.x-dev and see how that works, as you sound pretty confident it SHOULD WORK =)
thanks for the suggestions, I will report back shortly...
Comment #9
agentdcooper commentedIT WORKS! I know what the issue was, I had wysiwyg-6.x-2.0, NOT wysiwyg-6.x-2.x-dev = which I now have (x-dev version)! thanks for the tip, much appreciated.
this plugin is even more awsome then I thought!
Comment #10
acrollet commentedgreat, glad to hear it!
Comment #11
twodWow, I've been using vim a lot lately and this is really cool. Not the best editor for WYSIWYG tho hehe.
Here's some pointers if you like to keep building on this.
We can't let editor styles change what the document looks like, especially the html and body elements, because we can't predict what the theme looks like. Add a selector like 'html.jsvi_active' to the styles so they can be toggled on/off when the editor activates.
We can't let a 'fullscreen' widget activate on page load. This also does not work when there are multiple fields using the editor. You could use the attach method to put an event handler on the textarea so that it activates on focus/click, like in the demo, and then run this code.
We do need this to be implemented in some way, other things can trigger a detach as well. How about using this to remove those event handlers?
It would alse be very nice if the library itself could be wrapped in its own scope to not pollute the global namespace.
This review is powered by Dreditor.
Comment #12
twodIf not postponed, this does need some work.