ckeditor,typo3 , CKEditor remove classes from html tags in TYPO3


CKEditor remove classes from html tags in TYPO3

Question:

Tag: ckeditor,typo3

I am using CKEditor in Typo3.When i am writing For example if I hit source and create

p class="font12"

and when i save it.It returns only p not the class. so i need this class should not be removed.I have searched it on google but have not find the solution actually which file to Edit.


Answer:

probably this is defined in the typoscript of the ext. have a look at the TS files of the extension itself, you will have a greater inside of the plugin's setting then googling it.


Related:


TYPO3-Upgrade 4.5 to 6.2: namespaces


namespaces,typo3,typo3-6.2.x
I'm updating an old TYPO3 to latest verison 6.2.12. As I do so I replace deprecated classes with the proper namespaces. E.g. t3lib_div to \TYPO3\CMS\Core\Utility\GeneralUtility or t3lib_extmgm to \TYPO3\CMS\Core\Utility\ExtensionManagementUtility. But I cant find the proper namespaced class for t3lib_svbase. Any suggestions? . And I absolutely have no clue what I...

How to specify separate toolbar group for widget buttons?


widget,ckeditor,toolbar
By default CKEditor places widget buttons in the toolbar 'insert' group. I'd like to specify a custom group on the toolbar only for my widget buttons. How can I do that?

Ck editor not show in popup javascript


javascript,html,popup,ckeditor,popupwindow
i put code ckeditor in my website, but ck editor not showing in popup javascript, previously i try put ckeditor not using popup. This ck editor work. but i put in javascript popt not working. This is my screenshoot using javascript popup This is my screenshoot not using javascript popup...

How to use Hook “processDatamap_postProcFieldArray” in TYPO3 6.x


php,typo3,extbase,typo3-6.2.x
Use case: When saving an object (in backend, maybe in frontend too later) I want to manipulate values before saving to database. Problem: The file seems to get included (shows an error on save if I choose a wrong file path) but the function does not seem to be executed...

typo3 flow persist updated relation


php,doctrine2,typo3,typo3-flow
I have an issue TYPO3 Flow updating my relations. Am I wrong, that Flow should update changed relations automatically, so I don't have to update the related entities with the respective repository? Example 1: I have a model "Project" with multiple "Job" childs on attribute "jobs". If I do: $project->setJobs($collectionOfJobs);...

CKEditor allow all content except font-size, line-height, uppercase


filter,ckeditor
Is there a config option in CKEditor to allow all content except certain styles (font-size, line-height, uppercase,....). Is that possible? I checked ACF but I didn't see that option....

how to define ck-editor with id or class


php,ckeditor
My php file like this i am useing ck-editor in condition if i got $status > 0 than at that time display ck-editor otherwise it's display text box the problem is when my ck-editor name and text box name is same because i want to insert only one value which...

Routes for TYPO3 Neos plugin


typo3,typo3-flow,typo3-neos
I'm trying to define routes for my plugin. Everything is working as it should, because I got pretty URL on output, but unfortunately while I'm trying to access it I get an 404 error with message: #1303209195: No controller could be resolved which would match your request. Package key: "",...

Ckeditor 4.4.7 Enhanced Image plugin: figcaption with tags


javascript,ckeditor
I want to use p and span tags to make styled caption: <figure> <img ... /> <figcaption> <p><span class="styled">Caption1</span></p> <p>Caption2</p> </figcaption> </figure> How to do that?...

CKeditor outputs Html. How to format it for displaying properly, not just lame html?


javascript,html,css,meteor,ckeditor
I am using CKeditor, and this is my code: ...othercode.. <div class="input-field col s12"> <textarea id="textarea1" class="materialize-textarea"></textarea> <label for="textarea1">Body of the Post</label> </div> <input type="submit" name="Submit" id="sub"> </form> </div> </div> </div> {{else}} <div>You are not logged in.</div> {{/if}} <script> CKEDITOR.replace('textarea1'); </script> In Javascript, I use the same id to extract...

TYPO3 Solr extension and facets


solr,typo3,typoscript,typo3-6.2.x
I have a small question about TYPO3 solr facets.At present in my website I have 6 different indexing configuration available. Two of them are custom extension table's and one is tt_news and rest of the 3 are pages table with some custom condition. I managed to add this using additionalWhereClause...

Is there a way to click away from ckeditor and it saves the contents and then closes?


javascript,jquery,ckeditor
Im using CKEditor as my text editor. I was wondering if there is a way to click away from the editor (i.e anywhere else on the screen) which will then save the contents of it?

userfunc condition for detecting mobile device


typo3,typoscript,typo3-7.x
Since TYPO3 7 the condition 'device' and 'useragent' are deprecated. No I'm looking for a userFunc to use as a condition for detecting mobile devices. My aim is to hide or to show some special pages on mobile devices. I used the extension 'contexts_wurfl' for a while but I guess...

Hide typo3 content elements for specific user(groups)


typo3,typoscript
I want to "hide/deactivate" the table element for specific users/usergroups in the typo3 BE. Or to be more clear: I want to ONLY allow it to ONE specific user (admin). How can i do that? NOTE: At the moment the table element is deactivated in the global TS-config via tt_content...

Typoscript add class to the first element using stdWrap


typo3,typoscript,typo3-6.2.x
I have a custom requirement to display an image slider using TypoScript. The images are taken from default tt_content image content element. I've added the following TypoScript code to implement this; lib.homeslider = COA lib.homeslider { 10 = CONTENT 10 { table = tt_content select { where = colPos =...

CKEditor multiple user access


ckeditor
Does CKEditor solve the problems of multiple users accessing and editing the same file? If so, are there any configuration options available? If not, what are the possibilities of implementing custom multi-user behaviour? Or, are there any alternative editors with similar features and multi-user support?

Using FAL in Extbase correctly


typo3,extbase,fal
Domain model class Image extends AbstractContent { /** * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference */ protected $file; /** * Gets the image file * * @return \TYPO3\CMS\Extbase\Domain\Model\FileReference */ public function getFile() { return $this->file; } /** * Sets the image file * * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $file * @return void */ public function setFile($file)...

Passing data to widget in CKEditor


javascript,ckeditor
I made a very simple custom widget, however I want to add it to the editor via a custom button instead of a toolbar button so I use editor.execCommand("mywidget"). The widget is added correctly, but how do I pass data to the widget via this execCommand call? In the docs...

Where are TYPO3 constants from constant editor stored?


typo3,constants
In Typo3 Backend -> Template -> Constants there is a constant editor. Where does TYPO3 saving the constants? Tried an fgrep -ri for an existing pattern, in case of saving to filesystem - no matches. Tried an MySQL search for an existing pattern, in case of saving to DB -...

How to get clean html from gridmanager.js


jquery,html,ckeditor
I am using gridmanager.js for creating dynamic grids in my web application https://github.com/neokoenig/jQuery-gridmanager/ var gm = $("#mycanvas").gridmanager( { remoteURL:base_url+'backend/menu/save_customgrid/'+menu_id, debug: 1, ckeditor: { customConfig: base_url+"web/admin/dist/js/example-ckeditor.js" } } ).data('gridmanager'); $('#save_grid').click(function(){ gm.cleanup(); gm.saveremote(); }); My problem is,gm.cleanup(); not clearing the controlls of this plugin.I need to save the html without the html...

Skipping an element in CKEditor


javascript,ckeditor,contenteditable
Let's say we have the following text and caret position: foo |bar baz and the HTML code is foo <span>bar</span> baz and user pressed the right arrow key. What happens is that the caret now moved inside of the span between the letters b and a of bar. I would...

How-to clear custom style applied to element?


ckeditor
With Ckeditor 4x, when you add custom styles, you cannot use the "Remove format" button it not remove the style (class). It seem to be working good only when use the default styles....

google sitemap for tx_news records with dd_googlesitemap_dmf (or alternative)


typo3,sitemap,typo3-6.2.x
I try to let typo3 generate a sitemap for all the news records. For that I tried the dd_googlesitemap_dmf extention. The dd_googlesitemap works (it creates a sitemap for all the typo3 pages - but not for extensions). I filled in the basic infos into the configuration and called the url...

ckeditor initialise “find” plugin with ctrl+f


javascript,ckeditor
I am trying to initialise the find plugin from CKEditor, and I don't even know where to find their documentation for how to do this in the first place. I just need to init a plugin with a button press but rather a key press. So here's my code that...

How to assign variable in fluid?


typo3,fluid,view-helpers
I want viewhelper that can be helpful to assign variable in fluid, I dont want variable to be passed from controller.

CKEditor not working (grayed buttons)


javascript,jquery,plugins,ckeditor,ckeditor4.x
I'm testing a configuration for CKEditor, but I can't type and the buttons are like this: This is on Chrome 42.0.2311.152 m (64-bit), but the same happens on Firefox and IE. Here's how I'm loading CKEditor: <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="ckeditor.js"></script> </head> <body> <textarea id="teste"></textarea> <script> CKEDITOR.replace('teste'); </script> </body>...

Replace URLs in Typo3 DB


mysql,database,typo3
So I have a Site created with Typo3. I also have a domain which is linked to the folder of the Typo3 Installation. www.example.org I created a Subdomain and linked it to the same folder and used the Main Domain for something else. But now everything on the Subdomain still...

TYPO3 Extbase build own Sitemap


typo3,sitemap,extbase
There are a lot of sitemap Generators for TYPO3 in the TER available. But none of them can handle Sites created by Extbase, which are not shown in the TYPO3 page tree. Edit Thanks to biesior, detailed informations: Unconventional I switch in TypoScript the GET Parameter for my Extbase extension[globalVar...

File url [tmp_name] after upload via Typo3 backend


typo3,fluid
I'm building a typo3 extension and in a backend plugin I want to build a image upload form. I seem not to get the correct $_Files url. The following fluid form is used: <f:form action="customerSliderImages" id="customerSliderImages"> <f:form.upload name="custSlider[sliderimage]" /> <f:form.submit value="Upload" /> </f:form> I want to have the [name] and...

typo3 templavoila check current language


typo3,typoscript,templavoila
Hi i have 4 languages in my typo. Here is my main configuration for them: #LANGS config.linkVars=L config.defaultGetVars.L = 0 config.sys_language_overlay = hideNonTranslated [globalVar = GP:L = 3] config.sys_language_uid = 3 config.language = en config.locale_all = en_EN config.htmlTag_langKey = en plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 3 [globalVar = GP:L = 2] config.sys_language_uid =...

Add additional CKEDITOR languages


javascript,ckeditor
I need some help with a problem in CKEditor. I can't add Spanish as an additional language. My project currently has 2 languages: en and pt-br Today, I need to add es (Spanish) As you can see in the following image, I put es.js with the other ones. But when...

Import docx into CKEditor via upload


javascript,ckeditor
I'd like to be able to upload the document and set CKEditor's content automatically, instead of copy-pasting a formatted docx file's contents into the editor. Is this possible through a plugin? Or can I do this myself through some JS manipulation? I realize I can convert the docx to HTML...

Language detection not working in Typo3 6.2.12


typo3,typoscript,typo3-6.2.x,language-detection
I've a website which has 2 languages: German (de) as default and English (en) as translated. I am trying to implement language detection functionality in the website using the extension "rlmp_language_detection" version 7.0.0. What I want to achieve is, for the countries Austria (at), Switzerland (ch) and Germany (de), the...

htaccess and authentication for multiple domains


.htaccess,typo3
I am running a mutlisite TYPO3-Site. For the pre-live process, I want to add a htaccess with a htpasswd for 3 / 4 sites. How can I configure the htaccess-file to trigger the authentication only for specific urls? For example: http://example.org shouldn't get a password-protection, while http://example2.org should. Both sites...

Remove upload tab from Link menu


ckeditor
Is there a way to remove the "Upload" tab when using the Link dialog? I don't need it removed globally, just in the Link functionality. ...

after ajax form submit value from ckeditor textarea is not sent through post


jquery,ajax,ckeditor
i have a form having some textfields and a textarea (ckeditor), after onclick button art_title field value is sent to art_save.php page, but value from textarea is not sent. <script src="ckeditor/ckeditor.js"></script> function saveArt() { var title = document.getElementById('art_title'), art_title = title.value; var desc = document.getElementById('art_body'), art_body = desc.value; jQuery.ajax({ type:...

How to disable cache for a image carousel in TYPO3


caching,typo3,typoscript,extbase,typo3-6.2.x
My TYPO3 extension has a lib that generates random 5 images from the total stock, for example out of the 100 images. This is done randomly every time the page is loaded. Only default the TYPO3 cache is enabled so every time the same 5 images are showed. As the...

Get original event object in CKEditor


jquery,ckeditor
The Context I have a pretty simple use-case. My page has some configurable shortcut keys. I handle keydown events at the document node and, if the keypress is one of the configurable shortcuts, then I execute a series of actions and call event.preventDefault(), etc., to prevent standard actions from taking...

CKEditor 4.4.7 does not show up on any mobile browsers


android,iphone,mobile,ckeditor,ckeditor4.x
I am creating an internal CMS for work, and it is important that all pages be mobile-friendly. When you view a page with CKEditor 4.4.7 installed from a phone, the editor shows up as a normal textarea and none of the HTML or text within it is properly formatted. I...

How to get typo3 settings in the utility files?


php,typo3,fluid,extbase
plugin.tx_xxx { setting { storagePid = 23 } } I want this typo3 settings in utility file. Please help me....

Typo3 6.2: “Could not find a suitable type converter for ”String“ ” exeption after update


php,typo3,typo3-6.2.x
Typo3 was from a very old version updated to Typo3 6.2. The most things are working now, but I have one own written extension that give me the following error: Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1297759968: Exception while property mapping at property path "":Could not find a suitable...

tt_news single view with static news_id


typo3,tt-news
I am using Typo3 Version 6.2 with the plugin tt_news. All I want to do is: Have a simple page on my website On that page I want to have a tt_news single view the news_id of this view should be static (set by me) and NOT by GET variables...

How to get Query object to felogin repository?


typo3,typo3-6.1.x
i need Query object of TYPO3\CMS\Felogin\Controller\FrontendLoginController in my extention repository so i can create my own query conditions.

Change height for only one textarea using ckeditor


javascript,ckeditor
I get 3 ckeditor textareas in one page. The problem is that I want one of the textarea to be the same size than twice the others. I can't find how to resize ONLY ONE textarea. <script type="text/javascript"> CKEDITOR.config.height='600px'; </script> Works fine but it changes all the textareas. I also...

CKEditor loses content when removed from DOM and added again


iframe,ckeditor
Context CKEditor is a rich text editor that uses an iframe with an editable body. I have a situation where I need to temporarily remove an element containing a CKEditor instance from my page, then add it back some arbitrary amount of time later. Problem Unfortunately, this seems to cause...

CKEDITOR leave text as it is


content-management-system,ckeditor
When i save my content, it changes things that i don't want to be changed. How can i make it so it would just save my content without changing anything? Content before saving: <a anything</a> After save the above example becomes: <a a="" anything=""> </a> Im trying to find a...

Imagemaps in uCKEditor bad performance


performance,plugins,ckeditor,umbraco,imagemap
We have been using the uCKEditor plugin for umbraco for a few months now. We also installed a plugin for it called Image Maps. Recently, one of our content editors noticed a sharp drop in performance while editing some pages. After testing it for a while I noticed that removing...

How does my frontend usergroup list get lost between Extbase action controller and Fluid template partial in TYPO3 6.2?


typo3,fluid,extbase,typo3-6.2.x,typo3-extensions
I'm using TYPO3 CMS 6.2.12 and Extension Builder 6.2.0 to model a Report class and build an extension to manage it. One of the domain driven design requirements is that a report author be a logged-in front end user. A second requirement is that the author choose a single group...

Dynamically add context menu items in CKEditor based on user-selected list


javascript,html,ckeditor
Using the CKEditor plugin, I am trying to add context menu items based on items the user has selected from a DataTable object. The menu items show up just fine. The first menu item added, Current Time/Date, works. But when clicking on any of the items that were added by...

Insert content into editable div using ckeditor


javascript,jquery,html,css,ckeditor
I'm making a web app using the CkEditor for some neat wysiwyg editors. On page load the page gets a couple of strings from a database using AJAX. How do I insert the strings into the div that is editable? I don't want to use a textarea because the inline...