🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #522

RAILS - InPlaceEditor

#522
From: garus
Date: Sat, 09 Jun 2007 15:51
13 lines
1420 bytes
Witam

Używam funkcji in_place_editor do edycji zawartości DIV'a. Ale jak zrobić,
aby w formularzu in_place_editor'a po kliknięciu na przycisk "Edytuj"
pojawiał się inny tekst? Np. wczytany bezpośrednio z bazy danych?

Potrzebuję tego, bo robię edycję tekstu z BBCode'm, na stronie wyświetla się
np. <b>blabla</b>, ale w formularzu musi się pojawić [b]blabla[/b], czyli
tekst wczytany prosto z bazy danych, a nie  ten zamieniony na kod HTML.


pozdrawiam
garus
Technical Details
Message-ID: <f4ei81$bke$2@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "garus" <garus00_usunto_@gmail.com>
Newsgroups: pl.comp.lang.ruby
Subject: RAILS - InPlaceEditor
Date: Sat, 9 Jun 2007 17:51:18 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 17
Message-ID: <f4ei81$bke$2@atlantis.news.tpi.pl>
NNTP-Posting-Host: dxf106.internetdsl.tpnet.pl
X-Trace: atlantis.news.tpi.pl 1181404225 11918 83.14.31.106 (9 Jun 2007 15:50:25 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sat, 9 Jun 2007 15:50:25 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit