Ask Your Question
1

wmd editor failed when askbot is working from an iframe

asked 2011-05-31 17:58:26 -0500

Zhiz0id gravatar image Zhiz0id
58 1 2 5

updated 2011-05-31 18:16:37 -0500

Evgeny gravatar image Evgeny flag of Chile
11074 50 84 182
http://askbot.org/

I am trying to use Askbot as part of social app which is working from an iframe.

Wmd just don't working. I was trying to replace "top" on "this" in wmd.js but without luck.

p.s. Вопросы на русском приветствуются?

delete close flag offensive retag edit

Comments

You are welcome to ask in Russian, I will translate to english (if it is not too long) as well and answer in English. Evgeny ( 2011-05-31 18:04:50 -0500 )edit
Ok, thanks! Думаю у меня будет много вопросов и заодно подтяну english. :) Zhiz0id ( 2011-05-31 18:07:58 -0500 )edit
No problems. Regarding your question - well I can only suggest you to debug the wmd script in firebug... Unfortunately I don't have the time to experiment on this right now, would be awesome if you could find the answer yourself and tell us :). Evgeny ( 2011-05-31 18:14:14 -0500 )edit
Do you have a demo for your project? Just curious. Evgeny ( 2011-05-31 18:32:19 -0500 )edit
At this moment it is just a plain install + auto authorization(when running from social network vkontakte.ru) and some minor changes.You can see iframe part there http://four.you-ra.info . After redesign I will test it under heavy load (100k+ unique users per day). nginx+tornado+askbot+?(maybe cassandra) Zhiz0id ( 2011-05-31 18:36:41 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2011-09-03 02:19:48 -0500

Zhiz0id gravatar image Zhiz0id
58 1 2 5

The simplest fix is by use pagedown

It is modification of the wmd with fixed IFrame problem.

link publish delete flag offensive edit

Comments

Is there a reason Askbot is not using pagedown?

mether ( 2011-09-04 00:47:57 -0500 )edit

The editor has been customized for askbot - to support i18n and some additional functions were added - possibility to enter LaTex, uploading of file attachments... We'd need to port those functions into pagedown first.

Evgeny ( 2011-09-04 08:07:28 -0500 )edit
1

If pagedown is actively maintained, might consider pushing changes to it instead of all of these enhancements being only inside Askbot and therefore less visible/benefit to everyone else. Might make maintenance easier going forward. Javascript libraries are way too fragmented already.

mether ( 2011-09-04 12:28:10 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: 2011-05-31 17:58:26 -0500

Seen: 76 times

Last updated: Sep 03 '11