ether / pad

Etherpad Open-Source Repository
http://github.com/ether/pad
Other
1.03k stars 184 forks source link

Rich Text Editing #267

Closed xmbms closed 11 years ago

xmbms commented 13 years ago

text style && image support in etherpad

JohnMcLear commented 13 years ago

I am going to put a request in that PT will try to test this and other big commits today, looks very interesting! Good work!

Pita commented 13 years ago

Some things you should change are:

xmbms commented 13 years ago

Thanks for your suggestions.

  1. star character ('*') is used as a marker for special styles in my plugin. There may be something wrong with it. But I can't find your bug by clicking twice on center button in http://www.fisherstory.com/h2IMCk6qnI which is currently running my master branch without any other plugins, however I found a new bug about the caret position:) How many plugins were installed in your linux pc? Your problem may caused by the compatibility issue among the plugins.
  2. I will make my buttons white as soon as possible, and blue is the default style of dojo.
  3. redhog suggested me to allow users to upload their fonts to server. Uploading fonts and web fonts will be support later. I want to make my plugin run with less bugs , and then add more server support :)
  4. dojo is too heavy to be included as source code. Cdn is useful for developing, but may cause compatibility issue and special loading lag for production mode. I don't know which is the best way for including external way. BTW, I didn't use jquery in my plugin.
  5. I will add a js config file in my plugin. Do I need to add a gui support?

Best regards. Yao

Pita commented 13 years ago

Can you come to the etherpad irc channel and we will demonstrate you the problems?

xmbms commented 13 years ago

I have fixed the previous bug. It also support Web font and enable/disable features now. You could checkout my master branch for test, and you can preview my changes in http://www.fisherstory.com:)

dlo commented 13 years ago

This looks awesome! Great job!

Pita commented 13 years ago

It looks like font size is different in the timeslider and in the pad. I think this is a easy to fix css bug. Everything else looks ok for me, but I will wait whats John's opinion is. And there is small merge conflict in .gitignore, but this is no problem

Pita commented 13 years ago

A question: Why did you choose this Google Fonts? Is it diffcult to change theses Fonts?

xmbms commented 13 years ago

Sorry, I missed some css rules for timeslider, and this bug have been fixed now.

These fonts are randomly selected from Google Web Fonts. It's easy to customize. Fonts are defined as an array named families in main.js :)

Pita commented 13 years ago

Its pretty impressive so far. Some small problems we found:

xmbms commented 13 years ago

Could you show me your test case on http://www.fisherstory.com, so I could find the details of font size bug.