I was configuring the FCKEditor in the productcockpit of hybris so that there will be no HTML markup in the text when pasting it into the popup window.
Is there any way to remove that popup which is coming as soon as you paste some stuff into it? Or is there still the issue with browser security and js stuff?
The paste dialogs were removed in CKEditor 4.7.0 (see changelog and https://dev.ckeditor.com/ticket/16954). You may also just force pasting plain text with forcePasteAsPlainText config option.
But this is for CKEditor 4.x, if you are using FCKEditor you may consider updating to the newest version of CKEditor.
Related
Pasting content from the clipboard to the ckeditor edit field results in a box with the message, that pasting is not possible due to browser restrictions (I'm using Firefox, but it's the same with Chrome). I should paste the clipboards content into the box which works but after clicking ok nothing happens. So I can't paste anything from the clipboard into the editor area.
Inserting a file via the image button works.
What to do to paste content from the clipboard to the editor area?
The problem vanished after copying a new ckeditor version into the appropriate directory under yii's vendor folder.
But I don't know why it works now?
I am learning web design with Aptana and I have ran into a weird problem. The HTML editor does not recognize main element. Therefore, my .css file cannot select main element to style it. I have checked under windows --> preferences --> general --> editors and have made sure the HTML editor is default and selected. The only others are two text editors and web browser. Any fixes to this? Is it possible to download a better editor and install into Aptana? It has an add button.
I suppose that this element is not recognized because it is relatively new: at this time, it is not yet supported by the HTML Editor in Eclipse Web Tools for Neon.3, as you can see on this bug report for example).
You can also see these other related questions:
HTML5 Pass-Through element causes Eclipse warning 'Unknown tag'
"Unknown tag (main)" warning in JSP file in Eclipse
Warnings of valid HTML5 attributes in Eclipse
I am trying to copy code from an email into a a Web page file. I would like the file to have functionality.
I tried copying it directly into a new Sublime file but the colors did not appear as if I had typed it in. When I right clicked background, no open in browser option appeared. I am experimenting with code snippets in blogs and having problems pasting code with functionality in tact. Is this an extension omission ?
Thanks
Sublime will copy plain text, a wysiwyg html editor will copy the markup. If you want to get the markup, do 'show original' (gmail) or whatever your client has as an equivalent. The original will have the markup and can be copied into Sublime. Hope that helps.
The Chrome "Inspect element" HTML editor is very easy to use with lots of cool features, I love the collapsible elements, highlighting, and live updates so I can see exactly what's happening. Usually when I'm writing I'll create an empty file and open it in Chrome so I can start there. Unfortunately I have to copy everything to the document whenever I want to save and if I accidentally click on a link I lose everything. Is there an extension or something I can use to save the file (Maybe even to google drive?) I've recently accidentally lost a bunch of work a couple times in a row so I need to change something. I've tried brackets, atom.io, shiftedit, and codepen but none of them have the convenience and features of Chrome's console.
Thanks
You can use the Workspaces feature to work with files from DevTools so changes will persist to your computer automatically. Works with all source file types.
Check out Snippets in Chrome DevTools. The code snippets are stored in the browser, and you can run them on any page/site. I find them very useful myself.
You see the DOM in the "Elements" panel. The page may have JS that changes the DOM Tree.
So what you see in the Elements panel is not the source HTML. Therefore you can't just change things in the elements panel and save the changes to your HTML file.
I'm using eclipse Juno EE IDE for Web Developers.
When I open .tml files, they don't show the correct highlighting and auto complete isn't working. I thought this looked just like it's opening it in a text editor. I right clicked the .tml file and clicked open with > HTML editor and I still don't get the correct highlighting.
This works perfectly on my PC at home, I am at work and it doesn't work properly. Please can someone give me a quick heads up on what setting is wrong? I've spent ages looking and trying different editors, but i'm sure it should just work in the html editor.
Thanks,
Edit: When I hover over the underlined closing html tag, it says "The word is not spelt correctly". It's like it's a text editor, only I did right click > open with html editor.
(If not using Tapestry Tools, as uklance mentioned)
Remember that in addition to editing Eclipse's File Association configuration in:
Window->Preferences->General->Editors->File Associations
you should add the *.tml extension in the Content Types configuration in:
Window->Preferences->General->Content Types
there you should chose html or xml and click add to add *.tml
Have you seen the Tapestry Tools eclipse plugin?
Or you can just add a file association for *.tml to the XML or HTML editors.
Another alternative is using the JSP editor and a custom tld