This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
Hi eveyone, I have a little problem with mojo built in editors, they add extra tags and symbols like <p> </p> when I try to add some markup to text, is there any workaround?
Hi,
We've been discussing this problem recently on this thread. I'm afraid I do not yet have a solution for it and the only workaround I know is to use the source view in those cases where you do not want the p, remove it and save without switching back to wysiwyg view. For general content I don't see it as a huge problem because content should be in paragraphs most of the time, but there are cases where its a big nuisance that the editor does this.
Best,
Joe
Thanks Joe!
Yes sometimes it becomes nuisance, especially when a user without any knowledge in HTML is trying to edit content from the design view, upload image etc. I'm starting to think about changing the default editor, replacing it maybe with Telerik RadEditor, what do you think about it?
Many thanks and regards
Giorgi
Thats fine for you if it solves the problem for you, but I must stick with open source solutions.
Hm, now I tried this
FCKConfig.EnterMode = 'br'; // p | div | br FCKConfig.ShiftEnterMode = 'p'; // p | div | br (these two only)
as you've suggested on that topic and it seems to work for images, so, the main problem is solved for me :) thank you
I also visited FCKeditor forum and found the same solution. Maybe it doesn't help with all browsers but at least it doesn't add <p> to images in FF 3.5,
IE 8 and Google Chrome any more :)
Thanks again
Hope to see MojoPortal a CMS award winner (I think it's the best overall indeed and have voted for it :))