We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

WYSIWYG Editor with EE image integration

Development and Programming

Electric Putty's avatar
Electric Putty
88 posts
16 years ago
Electric Putty's avatar Electric Putty
I installed the extension and the module and I selected EP EDITOR from the Field Type drop down, but there’s is no Editor showing up in the Publish Page.

I wonder if you could view the source of the CP edit screen and cut and paste the epEditor settings block. It’s placed just before the closing head tag.

Many thanks,

Malcolm

       
Gnuus's avatar
Gnuus
96 posts
16 years ago
Gnuus's avatar Gnuus

I changed my system folder name, represented by xxx in the attached file. As you can see there is no slash before the system folder name?

       
Electric Putty's avatar
Electric Putty
88 posts
16 years ago
Electric Putty's avatar Electric Putty
I changed my system folder name, represented by xxx in the attached file. As you can see there is no slash before the system folder name?

Cool, I’ll look into this and get a new version up shortly.

       
Electric Putty's avatar
Electric Putty
88 posts
16 years ago
Electric Putty's avatar Electric Putty

Thanks to Gnuus we discovered a small issue with the extension file in version 1.0.5. We have fixed this problem and uploaded a new zip containing this amend. If you have already installed this version download the zip again and simply update the extension file.

Download version 1.0.5

Best wishes,

Malcolm

       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill

This (1.0.5) shows up fine for me now. I’m liking the file access. Any way to get a photo title field in there too? We use both the alt and title. Also… and you may be doing this already – but if the text that gets entered into alt and title could convert any characters that need to be encoded (my clients like to put single and double quotes in there) that would be great.

       
Dave_H's avatar
Dave_H
73 posts
16 years ago
Dave_H's avatar Dave_H

Hi Malcolm

This is a wonderful editor and seems less flaky than TInyMCE. Will use it for a project.

Only thing I would love to see is a cleaner output of code. It seems to put in empty divs all over the place.

I am editing the epEditior.js file in the modules folder to customise it a bit. Any other files that I need to customize?

But going in the right direction.

Thanks

       
Electric Putty's avatar
Electric Putty
88 posts
16 years ago
Electric Putty's avatar Electric Putty

@smartpill: Glad it’s working for you. We’ve deliberately kept the number of options to a minimum as one the problems with other editors is they overwhelm users. That said a title element is a useful addition so we may include this on future versions.

@Dave_H: I’m sorry you’re finding the output a little messy. We have spend a lot of time working on HTML cleaning routines to try and get valid markup. These are called automatically when a block of content is pasted in and again when you submit the form. These reside in the cleanHTML.js file.

The way the editor works does depend on which browser you are using as it utilises native behaviour thought the designMode property. Can you tell me which browser you are using and whether you are cutting and pasting from Word or typing directly in the editor? If you could also supply a sample of your output with the unwanted divs it would help us tighten up these routines.

Thanks, Malcolm

       
Dave_H's avatar
Dave_H
73 posts
16 years ago
Dave_H's avatar Dave_H

Hi Malcolm

I am using Safari 4, and cutting and pasting unformated text.

The outputting of extra divs seems to have sorted itself. But from time to time it will output an extra after headings.

So I have seen

<h4>Heading</h4>

Text

The other issue I am having is that if a sentence is bolded are italicized, there is no way to undo it and put it back to normal format.

Thanks Dave

       
The Tactile Group's avatar
The Tactile Group
118 posts
16 years ago
The Tactile Group's avatar The Tactile Group

Hey Malcolm,

Thanks for your work. This is a wonderful module for EE.

I’d like to request that you allow creation of sub-lists (a list inside another list). Also, the Class can be more useful if we could apply the properties to selected text instead of the entire document.

       
Dave_H's avatar
Dave_H
73 posts
16 years ago
Dave_H's avatar Dave_H

Hi

I have hit another issue. This working fairly well in Safari and Firefox for MAC. But on Firefox, IE6,7,8 on a PC it just isn’t working. I am getting thee errors in Firefox PC:

Permission denied to et property  Window.currentLinkObj
mysite/system/modules/ep_editor/editor_files/epEditorLink.js
Permission denied to et property  Window.currentLinkObj
mysite/system/modules/ep_editor/editor_files/epEditorImage.js

Thanks D

       
Electric Putty's avatar
Electric Putty
88 posts
16 years ago
Electric Putty's avatar Electric Putty
Hi I have hit another issue. This working fairly well in Safari and Firefox for MAC. But on Firefox, IE6,7,8 on a PC it just isn’t working. I am getting thee errors in Firefox PC:
Permission denied to et property  Window.currentLinkObj
mysite/system/modules/ep_editor/editor_files/epEditorLink.js
Permission denied to et property  Window.currentLinkObj
mysite/system/modules/ep_editor/editor_files/epEditorImage.js

@Dave_H: I have been working with the editor on a PC in IE7, Firefox 2 + 3 and Chrome and haven’t encountered this issue. The error messages above look identical, can you tell me exactly what you were doing when you received them? Can you tell me which version of Firefox you are using?

Also, when you say is just isn’t working are you able do anything, can you format text, add and upload images or create links?

Thanks, Malcolm

       
Dave_H's avatar
Dave_H
73 posts
16 years ago
Dave_H's avatar Dave_H

Hi Malcolm

Sorry about being vague!

I was trying to input an image and make a link. On both I can see everything and do everting but when it comes to insert, it doesn’t come out e.g. image doesn’t appear and link doesn’t render.

Using Firefox 3.0.11 and IE7 on XP. EE 1.6.7.

I can format text, Bold, Italics, Bullets. It seems to be with t he pop up, that things are not rendering.

It is strange but everything seems to be working properly on Safari, Firefox on the MAC.

Thanks D

       
MediaGirl Inc.'s avatar
MediaGirl Inc.
186 posts
16 years ago
MediaGirl Inc.'s avatar MediaGirl Inc.

Has anyone hacked the epEditor.js file to add additional buttons?

I’m needing to add a horizontal rule. I have the button showing but something in the code isn’t correct and so clicking on the button isn’t inserting an hr tag into the field.

Anyone been able to get an hr button working?

       
Electric Putty's avatar
Electric Putty
88 posts
16 years ago
Electric Putty's avatar Electric Putty

@Dave_H: I wonder if you could take a look at this post and see if this resolves your issue with IE at least: http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/0c014e78-8d35-4df3-93da-7f6a30b4ed8b

The symptoms described here seem similar to yours.

@MediaGirl Inc: I have posted some instructions for adding a button on the epEditor site: http://www.electricputty.co.uk/epeditor/?p=70#comment-32

I can’t vouch for browser support or code validity but this should work.

Best wishes,

Malcolm

       
Electric Putty's avatar
Electric Putty
88 posts
16 years ago
Electric Putty's avatar Electric Putty

@Dave_H: We’re still trying to get to the bottom of why the editor won’t let you add links and insert images. Both of these actions involve the JavaScript passing information between windows and for some reason your setup won’t allow this. Frustratingly we cannot recreate this behaviour here so it’s proving very hard to diagnose.

I wonder if I could ask you to try adding a link on a demo version of the editor outside of EE here: http://www.electricputty.co.uk/epeditor/epDemo.php. This will help us rule out any EE specific environmental factors.

If you are unsuccessful could you send me any diagnostic information; JavaScript errors etc.

Many thanks for your help,

Malcolm

       
First 3 4 5 6 7

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.