PDA

View Full Version : Delete functions from advanced texteditor - edit post


Schneeflocke
05-06-2016, 12:44 PM
Hello,

id like to delete some functions (framed red) in the advanced text editor ?edit my own post?.
https://vborg.vbsupport.ru/external/2016/05/24.jpg (http://www.directupload.net)

I deleted these functions from ?new post? and ?reply post? (framed green).

#cke_11, #cke_9, #cke_34, #cke_41 {
display: none;
}

But in ?edit my own post?, they are still there (framed blue).
I tried it whith:
#cke_75, #cke_73, #cke_98, #cke_105 {
display: none;
}

It worked for the first post. In the second post the functions are still there ?
So, I tried it with:
#cke_75, #cke_73, #cke_98, #cke_105 {
display: none;
}
#cke_146, #cke_144, #cke_169 #cke_176 {
display: none;
}

Now, it worked fort the first and the second post (yeah!), but not fort the third (cry!!!)!

I know the difference between first and second is 64
11-75= 64
9-73=64 ...

, and the difference between second and third is 71, between third and fourth is 71
75-146=71
73-144=71 ...

? etc.

How I can delete these f****** functions from ?edit post??????

I'm going crazy!

Best regards!

Replicant
05-06-2016, 08:21 PM
Search google for regex and css. The problem here is you are having different cke sessions in the classes. The regex will be able to select all the classes that begin with cke_.

noypiscripter
05-06-2016, 10:18 PM
You don't have to do the math. You just need to inspect it and check the id. See attached screenshot.

Schneeflocke
05-07-2016, 06:24 AM
Hey,

many thanks for your help!!

Yes, I inspect the cke id. The id changes with the posts - cke_65, ck_136, cke_207 etc. .

So, what now?

(Sorry, but its the first time i've worked with it. :confused:)

Best regards!

noypiscripter
05-11-2016, 07:02 PM
Then let's hide by position of the toolbars.

.cke_toolbox > .cke_toolbar:first-child,
.cke_toolbox > .cke_toolbar:nth-child(1),
.cke_toolbox > .cke_toolbar:nth-child(7),
.cke_toolbox > .cke_toolbar:nth-child(9) {
display: none;
}

Schneeflocke
05-14-2016, 07:50 AM
Thanks @ noypiscripter!!!