C # – Unity game works well in editor after Build UI doesn't work in Android

Thank you for your response to Game Development Stack Exchange!

  • Please be sure answer the question. Provide details and share your research!

But avoid

  • Ask for help, clarify, or respond to other answers.
  • Make statements based on opinions; Support them with references or personal experiences.

Use MathJax to format equations. MathJax reference.

For more information, see our tips on writing great answers.

Block editor – Gutenberg CSS output

I have CSS code below, but it's not on the post page:

(I'm talking about font size and color)

/* gutenberg */
blockquote {
    text-align: center;
    margin: 20px;
    font-family: epicride;
    color: red;
    font-size: 90px;
}

wp-block-quote {
    font-size: 90px;
}

This is a page, it works:

Sample Page

This is post, it doesn't work:

Best Places in Africa

I have CSS below, but font family is not read.

@import url('https://fonts.googleapis.com/css?family=Love+Ya+Like+A+Sister&display=swap');

  figcaption {
    font-size: 30px;
    text-align: center;
    font-family: 'Love Ya Like A Sister', cursive;
      border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
      box-shadow: 20px 38px 34px -26px hsla(0,0%,0%,.2);
      border:solid 2px #41403E;
}
figcaption:hover {
    box-shadow: 2px 8px 4px -6px hsla(0, 0%, 0%, .3);
}

You can go to the same post page to review it.

figcaption code also affects my post plugin on the homepage. How can I restrict the control area of ​​the code with gutenberg element?

the homepage: (you can see the black border on the preview picture)

Home

Thanks a lot

Block Editor – How can I open Gutenberg programmatically?

I want to edit content in the frontend and backend with the Gutenberg editor in a pop-up window.
I pass the content to the editor with JavaScript, open it, edit the content in Gutenberg and pass the content back to a variable when it is closed.

Now there are several questions:

  • When loading WordPress with a page without a page or cpt page, wp.data/wp.block is not loaded. Not even with the "Gutenberg Ramp" plugin, with which Gutenberg should always be loaded.

Hence the question, is there a way to load Gutenberg with the hook init?

If so, how do I start Gutenberg proramatically?

Thanks for tips

Severin

Plugins – Add dynamically editable fields from the WordPress editor using elementor

I am a designer and work with the Elementor plugin. My goal is to be able to dynamically add as many fields of a certain element as I need in a page template created with elementor, and to make these fields editable individually.

For example, I have an accordion element and I want nested accordions with custom text in each nested accordion. I know I can add accordions in other accordions with templates and element or links, but I want this content to be edited individually… so if I add 3 of these nested accordions I want everyone to have their own content
I also want to know if there is a way to make adding this content dynamic.

Linux – Set SublimeText as the default text editor from the command line [Kali]

I use Kali Linux.
and i would love to find a way to put (from the terminal!) SublimeText3 as my standard (visual) text editor.
I know how to do it on the GUI (right click -> open with), but I want to set it to multiple computers at the same time.
So I want to find a way to make it the default from the command line.

I tried, but it didn't work: changing the default text editor in Linux Mint 17 to Sublime Text 2

I tried it too, but I don't have this file: change the default text editor to Sublime Text in Linux Mint

Thanks a lot! Waiting for your help …

Change default template in the block editor (Gutenberg)

I want to change the default template for my pages to a template named fullwidthpage.php.

I have seen this question posted and answered for Gutenberg WordPress, but I have not found a working answer for Gutenberg WordPress (version 5.3.2 at the time of this question).

This is the non-working answer that I found. If I try the non-working answer, the template is set to fullwidthpage.php However, when I try to refresh the page, I get an "Update Failed" message.

gui – user interface of game database editor like Age of Epires & # 39; AGE

Age of Empires had this powerful AGE (Advanced Genie Editor) tool that allows players to easily change game data. You could view and play with all of the game's databases using this tool to create your own mods in a fairly simple way, which presumably was also used by the developers themselves to create their data.

Screenshot of the AGE tool

I was wondering how I could implement a similar editing interface for my game database.

Are there any tricks that Godot, Unity and Unreal users use to compose their data? I feel like I've missed something because no popular engine seems to support what I'm looking for right away.

If I can't do it in the engine, how am I supposed to make such a tool myself?

How do I automatically save all unsaved tabs in my editor ++ with some default file names?

I have many tabs in my editor ++. Few are already saved, but there are many that are not saved at all. Is there a way to save everything i have in my editor ++ without doing a lot of work?

When I click "Save All" I am prompted to enter the file name and more than 500 tabs are open in Notepad ++. It is too much work for me to save all of these by clicking on the popup window.

For example, if you check the header in the following screenshot, many tabs will appear:

ow t

filter – add_filter (allow_block_types) -> add core / paragraph errors Gutenberg editor

I have a strange problem with the "core / paragraph" block:
An already working "allowed_filter type" (see code below) with core and user-defined blocks starts to annoy the Gutenberg editor as soon as I click the & # 39; core / paragraph & # 39; in the $ allow_blocks array.

My problem :
The block appender at the bottom of the editor disappears, so I can no longer add a new block.

However, the paragraph block itself works perfectly.

I also have a custom container block that works well.
But in the same way, the block appender contained in it disappears as soon as I have inserted "core / paragraph" in its allowed blocks.

Could anyone know where that could come from?
(I'm building a topic from scratch, maybe I should call this core / paragraph somewhere else first, but didn't have to do this with the other cores / blocks.)

Thanks for reading, hope you can help!

Here is the code:

For the add_filter:

add_filter( "allowed_block_types", "filter_allowed_block_types", 10, 2 );
function filter_allowed_block_types( $allowed_blocks, $post ) {

   if( $post->post_type == "my_post_type" ) {
      $allowed_blocks = array(
         "core/heading",
         "core/image",
         "core/gallery",
         "core/video",

         "core/paragraph",

         'my-custom-container'
      );
   }
return $allowed_blocks;
}

For my custom container: (didn't add the attributes stuff, worked)

edit( { attributes, setAttributes } ) {

   let allowedBlocks = (
      'core/heading',
      'core/paragraph',
      'core/image',
      'core/gallery',
      'core-embed/instagram',

      'core/video',
      'core-embed/youtube',
      'core-embed/vimeo'
   );

   return((
      
)); }, save( { attributes } ) { return (
); }