New HTML editor?
Just wanted to find out how others are using/not using the
new HTML editor in RH7.
Our HTML files are valid, coded HTML, and what the RH editor
does to them is, well, a bit scary. Changing tags, removing
information, removing comments and formatting/line breaks that take
the once well-coded HTML and make a jumble out of them.
So far, we've just been using an external editor to edit the
files, and just used RH to generate the files. RH has had issues
with some XML code in our files for awhile so the editor has always
been problematic (stripping out the XML code) but rather than an
improvement, it seems like the new version is just worse.
Am I missing something?
quote:
Originally posted by:
Peter GraingeWhat annoying popups are bothering you?
Sorry it took so long for me to reply--I forgot
about the topic and my point was rhetorical anyway.
Anyhoo, since you ask: Say I need to add a class to a
paragraph tag (say, change <p> to <p class=caption>).
When I press the spacebar after the p to start typing, a
pop-up appears giving me a list of various HTML tags.
Example:
quote:
<h5> ... </h5>
<h6> ... </h6>
<head> ... </head>
<html> ... </html>
...and so on. Why? What does the list mean? Things I
could add? What are they supposed to help me do? Isn't not
as a shortcut to typing because if I double-click one of the listed
items it merely inserts the code and doesn't replace the code
that's already there so I'd end up with
<p<h5></h5>> and end up having to spend time
correcting that mess.
The pop-up very nearly obscures what I'm typing and so I have
to click elsewhere to get the pop-up to go away. And it happens
every time.
It's a poke in the eye. I thought the HTML editor would be
more convenient, but now? I prefer using Notepad by an order of
magnitude. (And it's moot anyway since the HTML editor is broken--a
problem
I
described awhile back resurfaced and we're out of ideas on how
to fix it.)
Similar Messages
-
XML News html editor not visible
Hi,
As a part of XML News we have created an html editor along with other labels,text field etc.The problem now is this editor is not visible while creating the News using News Editor Role.Can you help?
Regards
ImranHi Raghu,
Forms availability are eanabled already.If we are opening the News form all other fields (like button,text fields etc) are visible but the only thing not visible is the component hml editor where the Editor has to write News,I hope you understand this.Even though that is present in the form template under XML bulder.
Regards
Imran -
HTML Editor in 9.0.2
Does anyone know if the HTML editor can be attached to custom text attributes. It would be great if all text attributes could use the new HTML editor during content entry.
Thanks in Advance,
-ScotHi
The changing of relative to absolute is the one that bothers me. I think it also added line breaks, which caused problems with gaps appearing between images.
The other one I remember is adding <tbody> tags to a table.
I would prefer it if one could prevent the editor from making any changes in the HTML whatsoever. As an option maybe.
Is it possible to create a simple HTML item as a shared component that one could drop into any page?
Regards
Harry
What changes are you seeing?
I know that the editor converts relative links to absolute links (a bug has been logged for this and the issue is mentioned in the release notes). -
Apex 3.0 Html Editor Standard item - Add feature.
Hi,
Can I customize your new Html Editor Standard field? I would like to add some buttons that will pop-up window.
In futur, do you know if you will have package or something to customize the item ?
ThanksThis cannot be customized. In a future release we might (might) have an editor that you can customize but we do not have that now. The very last icon you see in the Standard HTML Editor is 'Maximize the editor size' (looks like a window) and it will expand the textarea to fill your screen.
-- Sharon -
How to edit news from DW side, html editor?
Anybody know how to edit the news fro the DW side, html editor?
Hi Liam,
Thanks for the quick respond.
No, I don't mean news template which you can import to your desktop along
with entire site.
Imean the content,
since it's an html page i wish to import it to my desktop along with my
site, edit the comtent via DW on my desktop, simply because I like to use
the DW html editor localy and then update the BC server With "put" (on
right pane) dream weaver editor, just like youwould do with any html page.
I understand that in order to push live it have to be done from BC, server
side, but this discussion is all about editing the html news page, not the
news template, and not pushing it live. only editing it via DW editor on
your local site.
You did not understand my question, please allow me to try asking again.
Thanks
Avi Gombinsky
917-520-7370
On Sun, Jul 6, 2014 at 1:44 AM, Liam Dilley <[email protected]> -
Creating a small HTML-Editor using JEditorPane
Hello! I'm trying to create a small HTML-Editor. Via this editor users shall be capable to create formatted text (bold, italic, underlined, different sizes, different fonts, different colors). Furthermore, if the user pushes the enter-button a new line-break (<br>) shall be inserted. Basically my editor is working but with some big problems:
1. When I create an instance of my editor, I initialize it with some html-code.
this.m_EditorPane.setText("<html><head></head><body></body></html>"); Without this initialization between the <body> and </body> <p> and </p> will be inserted, what I don't want. But if I push now the enter-button at the beginning, <br>-tag will not be inserted in the <body>-area but in the <head>-area.
2. Styling text is working really good, but when I insert a line-break (via enter-button), the <br>-tag is inserted after the (e.g.) closing bold-tag (</b>). So, in the next line, this style-property must be reselected.
Can anybody help me to change this behavior?
Kind regards, Stefan
P.S. The way I insert the <br>-tag:
JEditorPane editor = getEditor(ae);
HTMLDocument doc = getHTMLDocument(editor);
HTMLEditorKit kit = getHTMLEditorKit(editor);
editor.replaceSelection("");
int offset = editor.getCaretPosition();
kit.insertHTML(doc, offset, "<br>", 0, 0, HTML.Tag.BR);
editor.getCaret().setDot(editor.getCaretPosition());P.P.S. Sorry for my bad english :-/Hello! I'm trying to create a small HTML-Editor. Via this editor users shall be capable to create formatted text (bold, italic, underlined, different sizes, different fonts, different colors). Furthermore, if the user pushes the enter-button a new line-break (<br>) shall be inserted. Basically my editor is working but with some big problems:
1. When I create an instance of my editor, I initialize it with some html-code.
this.m_EditorPane.setText("<html><head></head><body></body></html>"); Without this initialization between the <body> and </body> <p> and </p> will be inserted, what I don't want. But if I push now the enter-button at the beginning, <br>-tag will not be inserted in the <body>-area but in the <head>-area.
2. Styling text is working really good, but when I insert a line-break (via enter-button), the <br>-tag is inserted after the (e.g.) closing bold-tag (</b>). So, in the next line, this style-property must be reselected.
Can anybody help me to change this behavior?
Kind regards, Stefan
P.S. The way I insert the <br>-tag:
JEditorPane editor = getEditor(ae);
HTMLDocument doc = getHTMLDocument(editor);
HTMLEditorKit kit = getHTMLEditorKit(editor);
editor.replaceSelection("");
int offset = editor.getCaretPosition();
kit.insertHTML(doc, offset, "<br>", 0, 0, HTML.Tag.BR);
editor.getCaret().setDot(editor.getCaretPosition());P.P.S. Sorry for my bad english :-/ -
New HTML for Business Partner Search in CIC0
Hi,
I created a new HTML object, copy of CRM_CIC_SEARCH_DISPLAY, in SMW0, changed the HTML code and assigned this new HTML to my Business Partner Search profile.
But when testing this change it seems that the HTML is incorrect because when I search and confirm the BP, the fields in the HTML are not filled with the BP information.
I imported the HTML code to the HTML object CRM_CIC_SEARCH_DISPLAY and it works fine. So the problem is not with the code, but with the HTML object itself. Is there any need to activate it or something like that?!
Thanks a lot!
Susana MessiasHello Susana,
please check if you have done all the necessary steps:
1. Copy in transaction SMW0 the HTML template CRM_CIC_SEARCH_DISPLAY an own one (Z_<YOURNAME>.htm).
2. Export this new template to your local PC and use a HTML Editor to
work on this file (like Frontpage).
3. Import this new page in SMW0 again to the copied Web object.
4. Make sure in transaction CRMC_CIC_SEARCH_CNTR the mapping of the
fields is setup for the new template (copy all entries of the
standard template).
5. Make sure the new web object is assigned to the search profile in
CRMC_CIC_SEARCH_RULE
Regards, Gerhard -
Help needed in writing custom views for rendering new HTML tags
Hi
I am in the process of making a sort of HTML editor using the JEditorKit and all,now i need to write a view which will display bi-directional text(text in reverse order),well i am not being able to get to the test at all,i don't know how to get to the text in the element being supplied to my ViewFactory.
Anyone who knows anything about what i am talking here please help me,i am open to any suggestion,anything,i am in a real mess here,please helpHi,
You dont need any coding to set the changed value back to the context attribute.
Since you have mapped the context attribute in the DisplayView and EditView to a context attribute of component controller. So after viewing the name in your DisplayView when you navigate to EditView onActionChange,you can change the value.When you cahnge the value and submit the new value that is entered is update across the component controller and DisplayView context.
To see this create a action onActionSubmit in EditView and navigate to the DisplayView, you will see the updated value.
In webdynpro framework when the value of a context attribute is changed, then the value gets updated across all views to which the context attribute is mapped. -
Run script in HTML editor in WebView WP8.1
I am developing an app in which I need to give HTML editing facility to the user. So I tried different HTML editors but finally TinyMCE was able to show controls for editing. But I am not able to set the contents of Editor. It gives Exception Exception
from HRESULT: 0x80020101. And I tried all different solutions but could not figure it out. Here is link to my project
string tinyMice = "<script type='text/javascript'> function myfun() {tinymce.execCommand('mceInsertContent', false, getQueryStrings());}myfun()</script>";
await System.Threading.Tasks.Task.Delay(TimeSpan.FromSeconds(1));
await webview_demo.InvokeScriptAsync("eval", new string[] { tinyMice });
Can somebody help?hey,
I am not sure what you exactly want to do but I took a look at the project you uploaded.
First of all, you better use the NavigationCompleted or
FrameNavigationCompleted event for executing onload functions.
I have no idea about the tinymce js plugin but here is what I did to create a similar scenario.
1) First, create a js function in the removeformat.html to return a string (replacing your getQueryStrings functions)
function returnMessageValue() {
return "Hello JS World";
2) then create a script notify event handler and wire it up to the page so we can get alerts from the html page loaded.
In NavigationCompleted event:
string result = await this.webview_demo.InvokeScriptAsync("eval", new string[] { "window.alert = function (AlertMessage) {window.external.notify(AlertMessage)}" });
this will notify the webview about window.alert's. So we subscribe to the Script notify event:
webview_demo.ScriptNotify += (sender, args) =>
MessageDialog m = new MessageDialog(args.Value);
m.ShowAsync();
and finally the code execution for our function:
await webview_demo.InvokeScriptAsync("eval", new[] { "window.alert(returnMessageValue())" });
// await webview_demo.InvokeScriptAsync("eval",
// new[] { "tinymce.execCommand(\"mceInsertContent\", false, getQueryStrings())" });
result:
hope it helps
Can Bilgin
Blog
Samples CompuSight -
Wrong behaviour in link generated by HTML editor
Hi all,
anybody knows if there is some bug in HTML editor used in XML Form Builder projects?
We are facing the following problem:
1) we create a link by filling the html editor area in a news XML edit form
2) save and publish the news
3) in rendering of the news the link doesn't respect the CSS class used for links (e.g. the link is a standard link, blue and underline)
Is it a standard behaviour or not?
Thanks
MartaHi all,
anybody knows if there is some bug in HTML editor used in XML Form Builder projects?
We are facing the following problem:
1) we create a link by filling the html editor area in a news XML edit form
2) save and publish the news
3) in rendering of the news the link doesn't respect the CSS class used for links (e.g. the link is a standard link, blue and underline)
Is it a standard behaviour or not?
Thanks
Marta -
How to configure webforms HTML editor in SAP 4.7 version
Hello Experts,
I have been trying to access one of the web forms in sap 4.7 , when i double click the form instead of opening an editor, it is showing me an error ''No HTML editor configured - please complete your personal settings using MS notepad as default''**
I am stuck any help would appreciated.
Regards,
Neeru Sangwan.for the result of function module you can check the documentation (from SE37 transaction code)
Status of User Password (Value: -2/-1/0/1/2/3, see docu.)
Definition
Status of the user password (relating to whether it can or must be changed)
Value Meaning
-2 Password cannot (generally) be changed
-1 Password cannot be changed today (only allowed once a day)
0 Password can be changed, but does not have to be changed
1 Password is initial and must be changed
2 Password has expired and must be changed
3 Password must be changed because it no longer meets the new rules -
How could I edit correctly my bullets in my html editor
I try to manage bullets in a simple HTML Editor.
To do that, I used two differents methods but they both failed.
When I look at the generated source code, my tags correcty exist but in the HTMLDocument, I can't see the text well formatted.
Is anybody could help me?
Thanks a lot
Here is the two methods I chose:
The first one was:
MutableAttributeSet attr = new SimpleAttributeSet();
attr.addAttribute(StyleConstants.NameAttribute, style);
int xStart = m_HTMLEditor.getSelectionStart();
int xFinish = m_HTMLEditor.getSelectionEnd();
m_doc.setParagraphAttributes(xStart, xFinish - xStart, attr, false);
And the second one was:
try{
MutableAttributeSet attr = new SimpleAttributeSet();
attr.addAttribute(StyleConstants.NameAttribute, HTML.Tag.LI);
m_doc.insertString(m_HTMLEditor.getSelectionStart(), m_HTMLEditor.getSelectedText(), attr);
catch(Exception ex) { IdeMessageManagerAccess.printMessage(IdeMessageType.INFORMATION, "An exception occured during the inserting bullet");
}Hi,
implementing list formatting for HTMLDocuments is complex. To format an arbirtrary text portion as list, <ul> or <ol> and <li> tags have to be added to respective text.
As one can not predict if a selected text portion has already list formatting or contains a mixture of list and plain text formatting, there are a lot of cases to implement.
My proposal is to just copy a working implementation as it is present in application SimplyHTML at http://www.lightdev.com/template.php4?id=3
Ulrich -
Iweb page modified with a simple html editor , now not display navigation menu
Hello i've designed a site http://www.ballettgastini.ch with Iweb and was working till i've the needs to update a simple text in one page and get it via ftp from the server, modified with a simple html editor !!!!, and update via ftp on the server. now the page do not diplay the navigation menu bar !!!! the page is here : http://www.ballettgastini.ch/stundenplan.html ... any suggesion ? i'm working now with a new imac with no possibility to modify the entire web site on the server...but the need it's really to change few text lines so i think to use a simple html editor... any ideas ? thanks luca giay turin italy
Why not continue in the topic you started earlier?
https://discussions.apple.com/message/21158910#21158910
Anyway, the scripts folder with essential files is missing :
http://www.lakesweddingmusic.com/Scripts/iWebImage.js
+ more
And this is missing too :
http://www.lakesweddingmusic.com/feed.xml
No feed, no menu.
And we keep finding more webpage. This one is made with iWeb 1
http://www.lakesweddingmusic.com/The_Barn.html -
Well, Howard Kistler has certainly already signed with an editor to sell its HTML Editor Applet. So instead of being parasites and begging for code, why not spit in our hands and code it by ourselves ?
I've made some tries yesterday for a HTML editor application. So far, there is an appli where one can edit text, and set it bold or italic with a menu. One can also dump the HTML code to stdout.
Here is the code, it's very simple, and after that I'll have some questions for you.
import javax.swing.*;
import javax.swing.text.*;
import javax.swing.text.html.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
public class Bla extends JFrame {
JEditorPane jep;
Hashtable actions;
private Action getActionByName(String name) {
return (Action)(actions.get(name));
public Bla() {
jep = new JEditorPane();
jep.setContentType ("text/html");
// shouldn't insert HTML test not done with a JEditorPane
// jep.setText ("This is a <b>test</b> !!");
// store and display available actions for this Editor Kit
actions = new Hashtable();
Action[] actionsArray = jep.getEditorKit().getActions();
for (int i = 0; i < actionsArray.length; i++) {
Action a = actionsArray;
actions.put(a.getValue(Action.NAME), a);
System.out.println (a.getValue(Action.NAME) + " = " + a);
System.out.println ("TEST : " + HTMLEditorKit.BOLD_ACTION); // --> "html-bold-action" !!
// builds menu bar
JMenuBar jmb = new JMenuBar();
setJMenuBar (jmb);
JMenu jm = new JMenu("commands");
jmb.add (jm);
jm.add (getActionByName ("font-bold"));
jm.add (getActionByName ("font-italic"));
JMenuItem out = new JMenuItem("output text");
jm.add (out);
out.addActionListener (new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.out.println ("CONTENT : " + jep.getText ());
// insert editor to a scroller and add all that to our frame
JScrollPane scroller = new JScrollPane();
JViewport port = scroller.getViewport();
port.add(jep);
getContentPane().add (scroller, BorderLayout.CENTER);
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
pack();
setSize (400, 400);
show ();
public static void main (String args[]) {
new Bla();
Questions :
1) When we display HTMLEditorKit.BOLD_ACTION, the result is "html-action-bold" but this action does not exist in the action list that we got from the EditorPane ! Is it a bug or just something I didn't understand ?
2) Is it a comprehensive list of all available actions on an EditorPane ?
3) If you try to set the HTML text by yourself, the Editor won't like it unless it is perfectly structured (usage of <p>, by example). Strange behaviour and bugs will occur if you try it.
4) When the HTML content is sent back, it is enclosed in <html><head></head><body>...</body></html>. What part of the architecure generates this code and how to get rid of it (not by String manipulations, of course).
Thanks for your help. And see you soon for the next version !
MatthieuI use TextWrangler and I think it rocks - it is completely free, very fast and just nice to use in general. The URL to download is:
http://www.barebones.com/products/textwrangler/download.shtml
Martin Bradford-Gago
Apple Newbie Blog: http://aurora7795.blogspot.com
MacBook, Intel Mac Mini, iMac G3 Mac OS X (10.4.8) Using Parallels Desktop to connect to Windows XP -
Hi all,
I would be interested in hearing of any external HTML editors
that RH users like using with RH instead of its internal editor.
Somebody please suggest a free (or almost free) HTML editor
that features lots of features, eg, hiliting, split Design/HTML
windows, clean XHTML code and checker.
Wasn't there once some browser called Mozila? Or was it
called Netscape?
Tia
- avi>> RH MVPS? Adobe Community Expert is the term. There's
no such term as RH MVPS.
Right, now they are called Adobe Community Experts.
>> As soon as you open the topic in RH's editor it is
going to rewrite the code.
You know what, I don't care if RH rewrites the code, just as
long as RH leaves the result appearance looking nice, i.e., it
doesn't smash up the appearance .
>> Go back to your original post here. What is it that
is missing in the RH editor? It will not be the cleaner code. RH7
cleaned up a lot and I expect more from RH8. But until then RH will
rewrite the code so I cannot see the benefit.
It's been a while now before I gave up in disgust, and went
to writing in Word. But I had expected to be able to work in WSYWYG
like in MEW or Word, with powerful style management. I expected
there to be an easy access Styles side pane. There is not. The
numbered lists were not reliable; they restarted when they were not
supposed to. Both numbered and bulleted lists get confused about
their indentation. It's lucky that I once taught myself MEW with
HTML/CSS , so after a short refresher I could go into the HTML view
and clean up all the code and make the lists the way they are
supposed to be. But since I am at a new client and only working
there at 100 hr/month, I had to show some real content output, and
fast, and so I had no more time for RH trial and error. So I went
back to Word (-- 2007, which I also did not know, but since I am
(supposed to be) a Word 2003 guru I knew what I was looking for and
that all the features are supposed to exist -- ) and wrote my first
drafts with that.
Actually, I am so shocked at RH's bad WSYWGY editor, if I had
any choice I would recommend to my client to look for something
better (if such a thing exists -- dare I mention Flare...), but
since RH is an important TW skill, I want to add it to my skills
list. So if my client has recommended using RH, this is a good
opportunity to learn RH on their account.
I have a feeling that I am eventually going to make a full
circle, i.e., either I won't find cheap/free HTML editor taht does
want I want, or even if I do, I will eventually run into the
problems you mention, and I will end up writing in raw HTML, just
as you say.
Actually, on 2nd thoughts, I also have to be honest with my
client, and I don't think they would be happy to hear that a guy
who takes over from me at some point, or is hired in addition to
me, would have to write HTML/CSS. They would want to hear that
there is some type of WSYWYG solution for RH, either internal or
external.
Tnx,
- avi
Maybe you are looking for
-
ABZU write up with strange 'ordinary depreciation on transaction' amount
Hi gurus, After I use ABZU to write up an asset for certain amount, e.g. $200 and check the asset document with AB03, there is always a strange amount like -176.33 in the 'ordinary depreciation on transaction' field with the 'ordinary depreciation' a
-
Need help in transforming a customer structure to an analytical structure
I have the following tables. I am interested in studying the manager's attributes that will predict the sales of Product A. In addition, I want to study whether the client attributes have an impact of the sales of product A. Can someone give me an ex
-
Tree table doesn't update the data for checkboxes properly
Hi All, I'm trying to use tomahawk tree table component to render a tree column of items along with checkboxes in other columns. Note that all the other columns except tree column are generated dynamically inside backing bean and checkboxes too added
-
hi,customer information is stored in hz_parties.but i want to know where exactly ship to location and bill to location are stored.
-
Where can i download Cs4 trial?
I have been looking around for a while now trying to find a trial version Cs4. Reason because my computer is not 64bit and cannot handle the opereration of CS5. I have looked for ages and with no results. if anyone can find a copy of the file i would