Re: WYSIWYG/Rich Text Editor recommendations

2019-05-06 Thread Tim Johnson
* Joel Mathew  [190430 17:29]:
> Currently I'm using quill. It's easy to implement, and has all basic
> features.

 Joel - perhaps you could check out another thread I started:
 subject - "quill tries to import deprecated django.forms.util"
 
 What version of django are you using?

 thanks again

-- 
Tim Johnson
http://www.tj49.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20190507004739.GK2404%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-05-04 Thread Swatantra Kumar
Hi Tim,

As your requirement is of a WYSIWYG editor, I often use CKEditor javascript
library directly in my Django projects as I can't get any alternative which
can provide features such as image/attachment upload, link pages, etc which
are available with CKEditor.
Also, check this Django CKEditor plugin
https://github.com/django-ckeditor/django-ckeditor

Regards,
Swatantra

On Sat, May 4, 2019 at 9:28 PM Tim Johnson  wrote:

> * Tim Johnson  [190430 16:27]:
> > Using python 3.7.2 and django 2.1.5
> >
> > Production is in Ubuntu 16.04 and prospective deployment is likely
> > to be CentOS with same python/django.
> >
> > I'm a retired python developer.
> >
> > I'd welcome recommendations and/or caveats regarding  a stable
> > WYSIWIG "plugin".
>   Thanks to all for the recommendations. It will just be all the
>   more edifying for me to try both tinymce and quill.
>
>   cheers
> --
> Tim Johnson
> http://www.tj49.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/20190504155745.GG2404%40mail.akwebsoft.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACxgST0N_TdUFxB%2B-9BW3hVgma_pt6kwrc9pCX5MPYiz3unN-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-05-04 Thread Tim Johnson
* Tim Johnson  [190430 16:27]:
> Using python 3.7.2 and django 2.1.5
> 
> Production is in Ubuntu 16.04 and prospective deployment is likely
> to be CentOS with same python/django.
> 
> I'm a retired python developer.
> 
> I'd welcome recommendations and/or caveats regarding  a stable
> WYSIWIG "plugin".
  Thanks to all for the recommendations. It will just be all the
  more edifying for me to try both tinymce and quill.

  cheers
-- 
Tim Johnson
http://www.tj49.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20190504155745.GG2404%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-05-02 Thread Andréas Kühne
I would second for quill - the main thing with that editor is that it
doesn't store the HTML internally - this means that you can copy / paste
from word for example without all of the strange html that comes with that.
It is more restrictive than tinymce or the likes, but much better!

Regards,

Andréas


Den ons 1 maj 2019 kl 04:40 skrev Tim Johnson :

> * Joel Mathew  [190430 17:29]:
> > Currently I'm using quill. It's easy to implement, and has all basic
> > features.
>
>   Cool. Thanks for that Joel.
>
> > > I'd like to recreate the same functionality with django. I will need
> > > to be able to include embedded images.
>
> --
> Tim Johnson
> http://www.tj49.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/20190501024004.GE2404%40mail.akwebsoft.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCcPWBtE%3D2eF%3DMmGhreS5TbrF5Ogq7W-cg0%2B85UHtGO_dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-05-02 Thread Lance Haig

Hi Tim,

I used django-tinymce4-lite for my app

https://github.com/lhaig/usery

It works well from my perspective and gives a light editor.

Regards

Lance


On 5/1/19 2:17 AM, Tim Johnson wrote:

Using python 3.7.2 and django 2.1.5

Production is in Ubuntu 16.04 and prospective deployment is likely
to be CentOS with same python/django.

I'm a retired python developer.

I'd welcome recommendations and/or caveats regarding  a stable
WYSIWIG "plugin".

Much is available on google, but it is always edifying to hear
individual comments.

I currently publish on drupal using its ckeditor plugin. My common
method is to compose articles in LibreOffice, then copy and paste
into the editor. Works well, except that it IS drupal.

I'd like to recreate the same functionality with django. I will need
to be able to include embedded images.

TIA


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d03fc05b-fb69-85ed-c1ed-652ea567925b%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-04-30 Thread Tim Johnson
* Joel Mathew  [190430 17:29]:
> Currently I'm using quill. It's easy to implement, and has all basic
> features.

  Cool. Thanks for that Joel.

> > I'd like to recreate the same functionality with django. I will need
> > to be able to include embedded images.

-- 
Tim Johnson
http://www.tj49.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20190501024004.GE2404%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-04-30 Thread Joel Mathew
Currently I'm using quill. It's easy to implement, and has all basic
features.
Sincerely yours,

 Joel G Mathew



On Wed, 1 May 2019 at 05:47, Tim Johnson  wrote:

> Using python 3.7.2 and django 2.1.5
>
> Production is in Ubuntu 16.04 and prospective deployment is likely
> to be CentOS with same python/django.
>
> I'm a retired python developer.
>
> I'd welcome recommendations and/or caveats regarding  a stable
> WYSIWIG "plugin".
>
> Much is available on google, but it is always edifying to hear
> individual comments.
>
> I currently publish on drupal using its ckeditor plugin. My common
> method is to compose articles in LibreOffice, then copy and paste
> into the editor. Works well, except that it IS drupal.
>
> I'd like to recreate the same functionality with django. I will need
> to be able to include embedded images.
>
> TIA
> --
> Tim
> http://www.tj49.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/20190501001716.GD2404%40mail.akwebsoft.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA%3Diw_9GFDrj4DT%3DrZg8UMZeXLj7iG%2Bcz8moe_RNZNfNHkTE%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


WYSIWYG/Rich Text Editor recommendations

2019-04-30 Thread Tim Johnson
Using python 3.7.2 and django 2.1.5

Production is in Ubuntu 16.04 and prospective deployment is likely
to be CentOS with same python/django.

I'm a retired python developer.

I'd welcome recommendations and/or caveats regarding  a stable
WYSIWIG "plugin".

Much is available on google, but it is always edifying to hear
individual comments.

I currently publish on drupal using its ckeditor plugin. My common
method is to compose articles in LibreOffice, then copy and paste
into the editor. Works well, except that it IS drupal.

I'd like to recreate the same functionality with django. I will need
to be able to include embedded images.

TIA
-- 
Tim 
http://www.tj49.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20190501001716.GD2404%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.


Re: rich text editor

2013-07-18 Thread Andre Terra
You're welcome! We're here to help. Glad to be of service.


Cheers,
AT

On Thu, Jul 18, 2013 at 3:59 PM, Kakar Arunachal Service <
kakararunachalserv...@gmail.com> wrote:

> Thank you so much!!! I will try it for sure! Thanks again!
>
>
> On Fri, Jul 19, 2013 at 12:15 AM, Andre Terra <andrete...@gmail.com>wrote:
>
>> It seems you are asking two completely unrelated questions:
>> 1. to allow users to add some form of tags into their code for richer
>> submissions.
>> 2. to have a different css for each user
>>
>> One possible answer to #1 is BBCode, as I described. Question #2 is
>> something altogether. Do you want each user message to appear differently?
>> Is that supposed to be customizable to the degree of css? Are you just
>> switching colors? How much are you going to let the user style their
>> messages? BBcode should be anough to allow them to add bold, italics,
>> links, pictures, etc. If you just want that, there's no need to have a
>> separate css for each user. Instead, just follow my instructions below.
>>
>> I'm not sure how django-bbcode styles the rendered text, but my
>> step-by-step investigation would be:
>>
>> 1. Install django-bbcode
>> 2. Make sure you have a view somewhere with an input and go to that URL.
>> This would possibly be a very simple view with a textarea where you'd type
>> something in and see the rendered output.
>> 3. Send the textarea back to the template in a variable (called, say,
>> stuff) and render it with {% bbcode stuff %} in the template.
>> 4. Use firebug, google chrome's inspector/developer tools to inspect the
>> css that's applied to the rendered text
>> 5. Make changes to yourcurrentcssfile.css to include styling for the
>> BBCode.
>> 6. GOTO 2
>> 7. ???
>> 8. Profit!!!
>>
>> I hope I understood your question well enough. Good luck!
>>
>> Cheers,
>> AT
>>
>> On Thu, Jul 18, 2013 at 2:56 PM, Kakar Arunachal Service <
>> kakararunachalserv...@gmail.com> wrote:
>>
>>> Thanks a lot! Was waiting for an answer. Just one more question though,
>>> I didnt understood much in the link you gave me. Its that, suppose I
>>> included it where users can post, will each post require another css, or
>>> something else. Please explain.
>>>  Liked "Impossible is nothing™"
>>>
>>>
>>> On Thu, Jul 18, 2013 at 10:44 PM, Andre Terra <andrete...@gmail.com>wrote:
>>>
>>>> Impossible is nothing™, but I don't see the benefits of combining rich
>>>> text with social networking. Things like BBCode[0] usually offer a better
>>>> trade-off between flexibility/usability/maintenance. Based on a quick
>>>> google search, it seems there are solutions tailored for use with Django
>>>> [1][2]
>>>>
>>>> [0] http://en.wikipedia.org/wiki/BBCode
>>>> [1] https://github.com/marcinn/django-bbcode full solution
>>>> [2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be
>>>> a place to start in case you want to rollout your own.
>>>>
>>>>
>>>>  Cheers,
>>>> AT
>>>>
>>>> On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
>>>> kakararunachalserv...@gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>> Just a thought, can a rich text editor be integrated to a social
>>>>> networking site. Or should every user have a css each? Its just a thought,
>>>>> was just wondering but would be glad if any of you could advice me how to
>>>>> if its possible.
>>>>> Thank you.
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Django users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to django-users+unsubscr...@googlegroups.com.
>>>>> To post to this group, send email to django-users@googlegroups.com.
>>>>> Visit this group at http://groups.google.com/group/django-users.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>>
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to 

Re: rich text editor

2013-07-18 Thread Kakar Arunachal Service
Thank you so much!!! I will try it for sure! Thanks again!


On Fri, Jul 19, 2013 at 12:15 AM, Andre Terra <andrete...@gmail.com> wrote:

> It seems you are asking two completely unrelated questions:
> 1. to allow users to add some form of tags into their code for richer
> submissions.
> 2. to have a different css for each user
>
> One possible answer to #1 is BBCode, as I described. Question #2 is
> something altogether. Do you want each user message to appear differently?
> Is that supposed to be customizable to the degree of css? Are you just
> switching colors? How much are you going to let the user style their
> messages? BBcode should be anough to allow them to add bold, italics,
> links, pictures, etc. If you just want that, there's no need to have a
> separate css for each user. Instead, just follow my instructions below.
>
> I'm not sure how django-bbcode styles the rendered text, but my
> step-by-step investigation would be:
>
> 1. Install django-bbcode
> 2. Make sure you have a view somewhere with an input and go to that URL.
> This would possibly be a very simple view with a textarea where you'd type
> something in and see the rendered output.
> 3. Send the textarea back to the template in a variable (called, say,
> stuff) and render it with {% bbcode stuff %} in the template.
> 4. Use firebug, google chrome's inspector/developer tools to inspect the
> css that's applied to the rendered text
> 5. Make changes to yourcurrentcssfile.css to include styling for the
> BBCode.
> 6. GOTO 2
> 7. ???
> 8. Profit!!!
>
> I hope I understood your question well enough. Good luck!
>
> Cheers,
> AT
>
> On Thu, Jul 18, 2013 at 2:56 PM, Kakar Arunachal Service <
> kakararunachalserv...@gmail.com> wrote:
>
>> Thanks a lot! Was waiting for an answer. Just one more question though, I
>> didnt understood much in the link you gave me. Its that, suppose I included
>> it where users can post, will each post require another css, or something
>> else. Please explain.
>>  Liked "Impossible is nothing™"
>>
>>
>> On Thu, Jul 18, 2013 at 10:44 PM, Andre Terra <andrete...@gmail.com>wrote:
>>
>>> Impossible is nothing™, but I don't see the benefits of combining rich
>>> text with social networking. Things like BBCode[0] usually offer a better
>>> trade-off between flexibility/usability/maintenance. Based on a quick
>>> google search, it seems there are solutions tailored for use with Django
>>> [1][2]
>>>
>>> [0] http://en.wikipedia.org/wiki/BBCode
>>> [1] https://github.com/marcinn/django-bbcode full solution
>>> [2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be
>>> a place to start in case you want to rollout your own.
>>>
>>>
>>>  Cheers,
>>> AT
>>>
>>> On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
>>> kakararunachalserv...@gmail.com> wrote:
>>>
>>>> Hello,
>>>> Just a thought, can a rich text editor be integrated to a social
>>>> networking site. Or should every user have a css each? Its just a thought,
>>>> was just wondering but would be glad if any of you could advice me how to
>>>> if its possible.
>>>> Thank you.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to django-users+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to django-users@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/django-users.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/django-users.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> em

Re: rich text editor

2013-07-18 Thread Andre Terra
It seems you are asking two completely unrelated questions:
1. to allow users to add some form of tags into their code for richer
submissions.
2. to have a different css for each user

One possible answer to #1 is BBCode, as I described. Question #2 is
something altogether. Do you want each user message to appear differently?
Is that supposed to be customizable to the degree of css? Are you just
switching colors? How much are you going to let the user style their
messages? BBcode should be anough to allow them to add bold, italics,
links, pictures, etc. If you just want that, there's no need to have a
separate css for each user. Instead, just follow my instructions below.

I'm not sure how django-bbcode styles the rendered text, but my
step-by-step investigation would be:

1. Install django-bbcode
2. Make sure you have a view somewhere with an input and go to that URL.
This would possibly be a very simple view with a textarea where you'd type
something in and see the rendered output.
3. Send the textarea back to the template in a variable (called, say,
stuff) and render it with {% bbcode stuff %} in the template.
4. Use firebug, google chrome's inspector/developer tools to inspect the
css that's applied to the rendered text
5. Make changes to yourcurrentcssfile.css to include styling for the BBCode.
6. GOTO 2
7. ???
8. Profit!!!

I hope I understood your question well enough. Good luck!

Cheers,
AT

On Thu, Jul 18, 2013 at 2:56 PM, Kakar Arunachal Service <
kakararunachalserv...@gmail.com> wrote:

> Thanks a lot! Was waiting for an answer. Just one more question though, I
> didnt understood much in the link you gave me. Its that, suppose I included
> it where users can post, will each post require another css, or something
> else. Please explain.
>  Liked "Impossible is nothing™"
>
>
> On Thu, Jul 18, 2013 at 10:44 PM, Andre Terra <andrete...@gmail.com>wrote:
>
>> Impossible is nothing™, but I don't see the benefits of combining rich
>> text with social networking. Things like BBCode[0] usually offer a better
>> trade-off between flexibility/usability/maintenance. Based on a quick
>> google search, it seems there are solutions tailored for use with Django
>> [1][2]
>>
>> [0] http://en.wikipedia.org/wiki/BBCode
>> [1] https://github.com/marcinn/django-bbcode full solution
>> [2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be a
>> place to start in case you want to rollout your own.
>>
>>
>>  Cheers,
>> AT
>>
>> On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
>> kakararunachalserv...@gmail.com> wrote:
>>
>>> Hello,
>>> Just a thought, can a rich text editor be integrated to a social
>>> networking site. Or should every user have a css each? Its just a thought,
>>> was just wondering but would be glad if any of you could advice me how to
>>> if its possible.
>>> Thank you.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/django-users.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: rich text editor

2013-07-18 Thread Kakar Arunachal Service
Thanks a lot! Was waiting for an answer. Just one more question though, I
didnt understood much in the link you gave me. Its that, suppose I included
it where users can post, will each post require another css, or something
else. Please explain.
 Liked "Impossible is nothing™"


On Thu, Jul 18, 2013 at 10:44 PM, Andre Terra <andrete...@gmail.com> wrote:

> Impossible is nothing™, but I don't see the benefits of combining rich
> text with social networking. Things like BBCode[0] usually offer a better
> trade-off between flexibility/usability/maintenance. Based on a quick
> google search, it seems there are solutions tailored for use with Django
> [1][2]
>
> [0] http://en.wikipedia.org/wiki/BBCode
> [1] https://github.com/marcinn/django-bbcode full solution
> [2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be a
> place to start in case you want to rollout your own.
>
>
>  Cheers,
> AT
>
> On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
> kakararunachalserv...@gmail.com> wrote:
>
>> Hello,
>> Just a thought, can a rich text editor be integrated to a social
>> networking site. Or should every user have a css each? Its just a thought,
>> was just wondering but would be glad if any of you could advice me how to
>> if its possible.
>> Thank you.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: rich text editor

2013-07-18 Thread Andre Terra
Impossible is nothing™, but I don't see the benefits of combining rich text
with social networking. Things like BBCode[0] usually offer a better
trade-off between flexibility/usability/maintenance. Based on a quick
google search, it seems there are solutions tailored for use with Django
[1][2]

[0] http://en.wikipedia.org/wiki/BBCode
[1] https://github.com/marcinn/django-bbcode full solution
[2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be a
place to start in case you want to rollout your own.


Cheers,
AT

On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
kakararunachalserv...@gmail.com> wrote:

> Hello,
> Just a thought, can a rich text editor be integrated to a social
> networking site. Or should every user have a css each? Its just a thought,
> was just wondering but would be glad if any of you could advice me how to
> if its possible.
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




rich text editor

2013-07-18 Thread Kakar Arunachal Service
Hello,
Just a thought, can a rich text editor be integrated to a social networking
site. Or should every user have a css each? Its just a thought, was just
wondering but would be glad if any of you could advice me how to if its
possible.
Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Rich text editor in Admin tool

2008-04-04 Thread Jared Dobson
Yeap,

A google search returned these two howtos:

Using Dojo's Rich Text Editor:
http://code.djangoproject.com/wiki/AddDojoEditor

And using tinymce. :-)
http://www.dehora.net/journal/2006/05/using_tinymce_in_djangos_admin.html

Good luck. :-)

Thanks,
Jared
On Fri, Apr 4, 2008 at 9:00 AM, bcurtu <[EMAIL PROTECTED]> wrote:

>
> Is it possible to configure the Admin Interface to use a Rich text
> editor to edit texts and add fomatted content?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Rich text editor in Admin tool

2008-04-04 Thread bcurtu

Is it possible to configure the Admin Interface to use a Rich text
editor to edit texts and add fomatted content?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Rich text editor

2007-03-02 Thread leland

i agree - tiny_mce is SUPER easy to implement. also - check out your
line:

js = 'media/js/admin/AddRichTextEditing.js'

view the source on your admin page and look at the src attribute of
the 

Re: Rich text editor

2007-03-02 Thread Kenneth Gonsalves


On 02-Mar-07, at 6:51 PM, Alessandro Ronchi wrote:

> Is there some other better editor?

try tiny_mce - well documented in django wiki and mailing list

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Rich text editor

2007-03-02 Thread Alessandro Ronchi

Hi to all.
I'm trying to add a rich text editor to a field of my model, following
the tutorial on
http://code.djangoproject.com/wiki/AddDojoEditor

I have this directory structure:

./
./gallery
./gallery/locale
./gallery/locale/it
./gallery/models.py
./gallery/views.py
./locale
./locale/it
./manage.py
./media
./media/dojo (with all the contents of dojo-0.4.1-kitchen_sink.tar.gz )
./media/dojo/dojo.js
./media/js
./media/js/admin
./media/js/admin/AddRichTextEditing.js
./settings.py
./urls.py

into
i have a class with

description = models.TextField(_("description"),help_text='Rich Text
Editing.', blank=True, null=True)
and
class Admin:
js = ['media/js/admin/AddRichTextEditing.js']
pass


The problem is that it doesn't replace the "Rich Text Editing." with the
 editor.

maybe my mistake is on media settings or directory structure?
Must I have something in urls?

in my settings.py I have:

# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT =
 '/home/aronchi/documenti/sviluppo/workspace/Brunori/museobrunori/media/'

# URL that handles the media served from MEDIA_ROOT.
# Example: "http://media.lawrence.com;
MEDIA_URL = 'http://localhost:8000/media'

# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use
 a # trailing slash.
# Examples: "http://foo.com/media/;, "/media/".
ADMIN_MEDIA_PREFIX = '/media/'


Is there some other better editor?

Thanks in advance.

-- 
Alessandro Ronchi
Skype: aronchi - Wengo: aleronchi
http://www.alessandroronchi.net - Il mio sito personale
http://www.soasi.com - Sviluppo Software e Sistemi Open Source

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Rich text editor with code snippets

2006-07-28 Thread tomass

Thanks. Added in the extra Tiny MCE options (like the full screen one),
and it works pretty well just using the  tags.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich text editor with code snippets

2006-07-26 Thread [EMAIL PROTECTED]

Maybe one of these might help:

http://lazutkin.com/blog/2005/aug/26/using_tinymce_djangos_admin/
http://code.djangoproject.com/wiki/AddWYSIWYGEditor
http://www.socialistsoftware.com/post/django-and-tinymce/

Chris


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Rich text editor with code snippets

2006-07-25 Thread tomass

Hi Folks,

I'm wondering which rich text editors people are using in their apps,
and if any of them (that have been successfully integrated into the
admin app) have the capability to display code snippets.

Basically, what I'm looking for is a code block to render in fixed
width font and with all spaces/line breaks/tabs preserved. You know
what I mean.

I'm using Tiny MCE but haven't found a way to do this. Feel free to
knock me over the head if this is simply a case of using some 
tags and then putting the appropriate style sheets. I'm not enough of a
CSS wizard to know if that's the way I should be approaching this.

Thanks, Tom


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich Text Editor for BBCOde?

2006-06-02 Thread Joseph Heck
It's not a full implementation, but it's pretty useful:http://svn.zilbo.com/svn/django/magic-removal/common/text/bbcode.pyer... it's moved since I last pulled it: 
http://svn.zyons.python-hosting.com/trunk/zilbo/common/text/bbcode.py(please note this isn't mine - it's just something I spotted while reading other folk's code)
On 6/2/06, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote:
On 6/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:> Does anyone know of a "fancy" rich text editor component which
> generates BBCode instead of HTML (or is customizable so that it can be> tailored to generate BBCode)? Maybe even one for which there is a> Django integration "Howto"?No, sorry, no ready made ones.
You could perhaps lift BBCode support fromhttp://spycebb.sourceforge.net/ or http://tboard.sourceforge.net/though.
--Jeroen Ruigrok van der Werven

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django users" group.  To post to this group, send email to django-users@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/django-users  -~--~~~~--~~--~--~---


Re: Rich Text Editor for BBCOde?

2006-06-02 Thread Jeroen Ruigrok van der Werven

On 6/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Does anyone know of a "fancy" rich text editor component which
> generates BBCode instead of HTML (or is customizable so that it can be
> tailored to generate BBCode)? Maybe even one for which there is a
> Django integration "Howto"?

No, sorry, no ready made ones.

You could perhaps lift BBCode support from
http://spycebb.sourceforge.net/ or http://tboard.sourceforge.net/
though.

-- 
Jeroen Ruigrok van der Werven

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich Text Editor for BBCOde?

2006-06-01 Thread Jan Claeys

Op do, 01-06-2006 te 11:05 +, schreef [EMAIL PROTECTED]:
> Does anyone know of a "fancy" rich text editor component which
> generates BBCode instead of HTML (or is customizable so that it can be
> tailored to generate BBCode)? Maybe even one for which there is a
> Django integration "Howto"?

I have been looking around for something like that too, and the only one
I know is Wykiwyg: <http://www.wikiwyg.net/>

It generates wiki markup for some wikis, but I think adapting it to
support BBcode should be possible too...?

> I like the Django integration for the various rich text editors, and I
> want to give my users the ability to post styled text -- i just don't
> want to open the floodgates for all kinds of embedded HTML, with all
> the potential exploitable problems that can bring. 

I just had to edit some HTML generated by one of those... yuck!
For esthetic reasons alone those things should be forbidden.   :-(


-- 
Jan Claeys


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich Text Editor for BBCOde?

2006-06-01 Thread [EMAIL PROTECTED]

Scott Anderson wrote:

> You're going to have to filter on the server side no matter what the browser 
> editor produces. ie. if you want to allow someone to post a link, you'll 
> still have to filter the href of the link posted via BBCode or someone can 
> just bypass the editor and post the code directly by not using your interface.
>
> The only surefire way, of course, is to completely disallow HTML (via quoting 
> < characters) and just allow text.

That's more or less what I'm doing. I pass the output through escape |
urlize | bbcode text filters, so any HTML input into the editor (or
posted directly via a POST request) comes out as , , etc. and
only selected bbcode markup gets converted to HTML markup.

Daniel


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich Text Editor for BBCOde?

2006-06-01 Thread Scott Anderson

On Thu, 2006-06-01 at 11:43 +, [EMAIL PROTECTED] wrote:
> 
> All this may sound a bit (very?) paranoid for a small community portal
> site. The large number of comment spamming, SPAM and exploits against
> phpBB sites, etc. show that some people just don't play fair. You don't
> really want these people to go and write arbitrary HTML on your page.
> And the potential for abuse is such that if you DO allow HTML in
> postings, you have a lot of filtering to do.
> 
> Daniel


You're going to have to filter on the server side no matter what the browser 
editor produces. ie. if you want to allow someone to post a link, you'll still 
have to filter the href of the link posted via BBCode or someone can just 
bypass the editor and post the code directly by not using your interface.

The only surefire way, of course, is to completely disallow HTML (via quoting < 
characters) and just allow text. The next best thing is to use a whitelisting 
filter that only allows the tags you want it to allow. I have such a filter, 
and if there's interest I'll clean it up and post it somewhere. For now there's 
a prototype version at http://z.iwethey.org/forums/SourceCode/src/htmlparse.py 
that needs some work.

It scrubs everything by default. Tags are detected and filtered for
allowed markup only (eg. you can only put http:// in an href). There are
some BBCode-like markup elements (a number of which are specific to my
forums code only), and it's fairly trivial to add more. There's also a
two-step processing system: scrubbing first, during which links and the
like are converted to an interim format before being stored in the
database, then a second step which takes links and converts them to
actual tags according to the preferences of the user (some users like
all links to open a new window, for example) just before display.

Regards,
-scott



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich Text Editor for BBCOde?

2006-06-01 Thread [EMAIL PROTECTED]

Todd O'Bryan wrote:
> Is it not sufficient to just look for 

Re: Rich Text Editor for BBCOde?

2006-06-01 Thread Todd O'Bryan

On Jun 1, 2006, at 7:05 AM, [EMAIL PROTECTED] wrote:
>
> I like the Django integration for the various rich text editors, and I
> want to give my users the ability to post styled text -- i just don't
> want to open the floodgates for all kinds of embedded HTML, with all
> the potential exploitable problems that can bring.

Is it not sufficient to just look for 

Rich Text Editor for BBCOde?

2006-06-01 Thread [EMAIL PROTECTED]

Hi.

Does anyone know of a "fancy" rich text editor component which
generates BBCode instead of HTML (or is customizable so that it can be
tailored to generate BBCode)? Maybe even one for which there is a
Django integration "Howto"?

I like the Django integration for the various rich text editors, and I
want to give my users the ability to post styled text -- i just don't
want to open the floodgates for all kinds of embedded HTML, with all
the potential exploitable problems that can bring.

Daniel


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---